Bot can't reply to a message if that message gets quickly deleted #11
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Wroclaw/GPTcord#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When user mentions the bot, and quickly deletes the message before the bot has a chance to reply, the bot crashes. This is also some kind of race condition.
These kind of requests should be ignored/cancelled.
Race condition: bot fails to reply if the request message gets deleted quicklyto Bot can't reply to a message if that message gets deletedBot can't reply to a message if that message gets deletedto Bot can't reply to a message if that message gets quickly deletedSee MessageReplyOptions
I do believe that the request should be cancelled instead of being fulfilled if the message gets deleted before the request completition, so this is not a solution.
I believe that when the message by a bot gets send, it should be clearly visible who summoned the bot.
Thus the bot has to send a referenced message instead of standard message.