|
|
@ -1262,8 +1262,11 @@ def bienvenue(event): # Affichage d'un message d'accueil aux nouveaux venus |
|
|
|
if (len(room.aliases) > 0): |
|
|
|
alias = room.aliases[0] |
|
|
|
msg = "" |
|
|
|
if (len(welcome[room.room_id]) > 0): |
|
|
|
try: |
|
|
|
#if (len(welcome[room.room_id]) > 0): |
|
|
|
msg = welcome[room.room_id] |
|
|
|
except: |
|
|
|
msg = "" |
|
|
|
if (membership == "join"): |
|
|
|
room.send_text("Bienvenue sur " + alias + ", " + nick + ". " + msg) |
|
|
|
|
|
|
|