generated from Nemesis/Exemple
modo sur invitation
This commit is contained in:
parent
b7c233fcbb
commit
f8345656c3
1 changed files with 4 additions and 4 deletions
|
@ -1507,12 +1507,12 @@ def invitations(room_id, state): # Reponse aux invitations
|
|||
global modos
|
||||
if (modos.get(room_id,True) or len(modos[room_id]) == 0):
|
||||
modos[room_id] = [state['event']['sender']]
|
||||
except:
|
||||
print("Impossible de rejoindre ce salon")
|
||||
time.sleep(2)
|
||||
del bot
|
||||
save()
|
||||
main()
|
||||
except:
|
||||
print("Impossible de rejoindre ce salon")
|
||||
|
||||
def main():
|
||||
config = configparser.ConfigParser()
|
||||
|
|
Loading…
Reference in a new issue