We already checked if user was admin before running admin commands.
authorCMDR furrycat <elite@furrycat.net>
Thu, 2 Mar 2017 09:54:58 +0000 (09:54 +0000)
committerCMDR furrycat <elite@furrycat.net>
Thu, 2 Mar 2017 09:54:58 +0000 (09:54 +0000)
plugin/admin/admin.py

index 0e5629b..24a47de 100644 (file)
@@ -130,10 +130,6 @@ class Admin(object):
       await cat.yelp(message.channel)
 
   async def handle_permissions(self, message, args):
-    if not bot.is_admin(message.author):
-      await cat.hiss(message.channel)
-      return
-
     if args[0].lower() == 'help':
       await self.help_command(message, 'permissions')
       return