corrected syntax error
This commit is contained in:
parent
acdab526a9
commit
ad6fdac4d1
|
@ -99,7 +99,7 @@ class Mod:
|
|||
perm_value = perm_obj.value
|
||||
|
||||
cmd = None
|
||||
for part in permissions:
|
||||
for part in msg[0:len(msg) - 1]:
|
||||
try:
|
||||
if cmd is None:
|
||||
cmd = self.bot.commands.get(part)
|
||||
|
|
Loading…
Reference in a new issue