Browse Source

changed 'check_command_permissions' to work with python3

pull/41/head
Giovani Irimea 8 years ago
parent
commit
5cda804809
  1. 2
      disco/bot/bot.py

2
disco/bot/bot.py

@ -352,7 +352,7 @@ class Bot(LoggingClass):
level = self.get_level(msg.author if not msg.guild else msg.guild.get_member(msg.author))
if level >= command.level:
if level.value >= command.level.value:
return True
return False

Loading…
Cancel
Save