diff --git a/data_expunged.py b/data_expunged.py index 55d8480..096c880 100644 --- a/data_expunged.py +++ b/data_expunged.py @@ -50,9 +50,9 @@ async def on_message(message): @client.event async def on_reaction_add(reaction, user): - if reaction.message.author == client.user - and str(reaction.emoji) == '❌' - and reaction.message.content.startswith('{0} says: '.format(user.mention)): + if (reaction.message.author == client.user + and str(reaction.emoji) == '❌' + and reaction.message.content.startswith('{0} says: '.format(user.mention))): try: await reaction.message.delete() except discord.DiscordException as e: