Fixed syntax error
This commit is contained in:
parent
3e40d1665d
commit
e1e8e59272
|
@ -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__:
|
||||
|
|
Loading…
Reference in a new issue