1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

corrected syntax error

This commit is contained in:
Phxntxm 2016-07-30 07:39:10 -05:00
parent acdab526a9
commit ad6fdac4d1

View file

@ -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)