Update stealemoji.py

This commit is contained in:
Ianardo DiCaprio 2019-07-20 02:14:46 +01:00 committed by GitHub
parent 07fb183cc9
commit 5fde2412af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,7 @@ class StealEmoji(Cog):
await ctx.send("This server has been added as an emoji bank") await ctx.send("This server has been added as an emoji bank")
@commands.Cog.listener()
async def on_reaction_add(self, reaction: discord.Reaction, user: discord.User): async def on_reaction_add(self, reaction: discord.Reaction, user: discord.User):
"""Event handler for reaction watching""" """Event handler for reaction watching"""
if not reaction.custom_emoji: if not reaction.custom_emoji: