1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Fixed syntax error

This commit is contained in:
phxntxm 2016-07-15 17:18:48 -05:00
parent 3e40d1665d
commit e1e8e59272

View file

@ -107,7 +107,7 @@ class Mod:
cmd = self.bot.commands.get(msg[count])
while isinstance(cmd, commands.Group):
count += 1
cmd = cmd.get(msg[count])
cmd = cmd.commands.get(msg[count])
for check in cmd.checks:
if "isOwner" == check.__name__: