Closed therealmistericraft closed 3 years ago
If the script runs on another Discord Application (other Token), Reactions from the bot get noticed as user reactions.
*help
Close
In the on_raw_reaction_add Methods, there are only exceptions for the IDs of MisteriBot an MisteriBot W.I.P.
on_raw_reaction_add
MisteriBot
MisteriBot W.I.P.
Instead of ID exceptions, there should be an exception for client.user.id
client.user.id
Problem Description
If the script runs on another Discord Application (other Token), Reactions from the bot get noticed as user reactions.
Example
*help
gets executedClose
Reaction from the bot will close the help embedProblem Source
In the
on_raw_reaction_add
Methods, there are only exceptions for the IDs ofMisteriBot
anMisteriBot W.I.P.
Fix
Instead of ID exceptions, there should be an exception for
client.user.id