Browse Source

welcome msg

master
Nemesis 6 years ago
parent
commit
59f0303c99
  1. 3
      asmodee.py

3
asmodee.py

@ -1224,7 +1224,8 @@ def accueil(room,event):
if (event['sender'] in admins):
global welcome
args = event['content']['body'].split()
reponse = " ".join(args.pop(0))
args.pop(0)
reponse = " ".join(args)
if (len(args) > 0):
welcome[room.room_id] = reponse
room.send_text("Le message d'accueil est désormais : " + reponse)

Loading…
Cancel
Save