generated from Nemesis/Exemple
debug welcome non spécifié
This commit is contained in:
parent
4886088b0c
commit
de0686620e
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue