✨ Moved reaction code
This commit is contained in:
@ -24,5 +24,11 @@ class EventCog(commands.Cog):
|
||||
async def on_error(self, method, *args, **kwargs):
|
||||
await self.bot.errorHandler.on_error(method)
|
||||
|
||||
# If someone reacted to a message, checks if it's a reaction it's
|
||||
# Gwendolyn has been waiting for, and then does something
|
||||
@commands.Cog.listener()
|
||||
async def on_reaction_add(self, reaction, user):
|
||||
await self.bot.eventHandler.on_reaction_add(reaction, user)
|
||||
|
||||
def setup(bot):
|
||||
bot.add_cog(EventCog(bot))
|
||||
|
Reference in New Issue
Block a user