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])
|
cmd = self.bot.commands.get(msg[count])
|
||||||
while isinstance(cmd, commands.Group):
|
while isinstance(cmd, commands.Group):
|
||||||
count += 1
|
count += 1
|
||||||
cmd = cmd.get(msg[count])
|
cmd = cmd.commands.get(msg[count])
|
||||||
|
|
||||||
for check in cmd.checks:
|
for check in cmd.checks:
|
||||||
if "isOwner" == check.__name__:
|
if "isOwner" == check.__name__:
|
||||||
|
|
Loading…
Reference in a new issue