debug modo vide

This commit is contained in:
Nemesis 2018-07-25 18:13:19 +02:00
parent 1ff95d1f95
commit 32cf2c250d

View file

@ -1278,6 +1278,7 @@ def modo(room,event): # Definition d'un moderateur
lmod = modos[room.room_id] lmod = modos[room.room_id]
except: except:
lmod = [] lmod = []
print(event)
args = event['content']['body'].split() args = event['content']['body'].split()
args.pop(0) args.pop(0)
if (len(args) > 1 and args[0] == "add"): if (len(args) > 1 and args[0] == "add"):