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