-
Notifications
You must be signed in to change notification settings - Fork 187
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug.
When trying to send message, edit interaction, or edit message, message id and channel id is sometimes missing. Usually it's always missing when ctx.send, but sometimes it's missing when edit, reported by paginator ext users
List the steps.
- Make a command
- Try to send and edit:
msg = await ctx.send("test")
print(msg.id, msg.channel_id)
msg = await ctx.edit("edit")
print(msg.id, msg.channel_id)
await msg.edit("test")
print(msg.id, msg.channel_id)What you expected.
Message should always have message and channel IDs
msg = await ctx.send("test")
print(msg.id, msg.channel_id)
msg = await ctx.edit("edit")
print(msg.id, msg.channel_id)
await msg.edit("test")
print(msg.id, msg.channel_id)What you saw.
Instead this happens
None None
987906535692849182 862150987288412170
987906535692849182 862150987288412170Sometimes it also occurs when ctx.edit or msg.edit, from reports of paginator ext users
What version of the library did you use?
unstable
Version specification
Happens in stable, in unstable, and in 4.3 beta 1
Code of Conduct
- I agree to follow the contribution requirements.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working