You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
When a message is edited, the bot checks whether it contains any commands and re-executes those commands. This is useful for when people update their command (for a typo fix). But it can trigger the bot to run the same thing twice if the thing that was edited is irrelevant extra stuff (like text before the command, or when embedded links are expanded which counts as an edit).
To fix this, we could determine the arguments in the pre-edit message and the post-edit message and if they're the same, do not re-execute the command.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When a message is edited, the bot checks whether it contains any commands and re-executes those commands. This is useful for when people update their command (for a typo fix). But it can trigger the bot to run the same thing twice if the thing that was edited is irrelevant extra stuff (like text before the command, or when embedded links are expanded which counts as an edit).
To fix this, we could determine the arguments in the pre-edit message and the post-edit message and if they're the same, do not re-execute the command.
The text was updated successfully, but these errors were encountered: