1
0
Fork 0
mirror of synced 2024-06-28 19:20:34 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2017-03-06 16:13:22 -06:00
parent a2783fefed
commit 087e9d186d

View file

@ -427,7 +427,7 @@ class Mod:
# If we're not setting the user to the bot, then we're deleting someone elses messages
# To do so, we need manage_messages permission, so check if we have that
elif not ctx.message.channel.permissions_for(ctx.message.server.me).manage_messages:
if not ctx.message.channel.permissions_for(ctx.message.server.me).manage_messages:
await self.bot.say("I do not have permission to delete messages...")
return