|
|
@ -1273,7 +1273,11 @@ def bienvenue(event): # Affichage d'un message d'accueil aux nouveaux venus |
|
|
|
def modo(room,event): # Definition d'un moderateur |
|
|
|
if (event['sender'] in admins): |
|
|
|
global modos |
|
|
|
lmod = modos[room.room_id] |
|
|
|
lmod = [] |
|
|
|
try: |
|
|
|
lmod = modos[room.room_id] |
|
|
|
except: |
|
|
|
lmod = [] |
|
|
|
args = event['content']['body'].split() |
|
|
|
args.pop(0) |
|
|
|
if (len(args) > 1 and args[0] == "add"): |
|
|
|