generated from Nemesis/Exemple
modo sur invitation
This commit is contained in:
parent
d6fe31a666
commit
d543692ad1
1 changed files with 3 additions and 0 deletions
|
@ -1495,6 +1495,9 @@ def invitations(room_id, state): # Reponse aux invitations
|
|||
try:
|
||||
global bot
|
||||
bot.client.join_room(room_id)
|
||||
room_id = event['room_id']
|
||||
room = bot.client.rooms[room_id]
|
||||
|
||||
if ('welcome' in liste_mod):
|
||||
modules[room.room_id, 'welcome'] = True
|
||||
if ('roll' in liste_mod):
|
||||
|
|
Loading…
Reference in a new issue