1
0
Fork 0
mirror of synced 2024-06-29 03:30:57 +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 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)