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
|
global modos
|
||||||
if (modos.get(room_id,True) or len(modos[room_id]) == 0):
|
if (modos.get(room_id,True) or len(modos[room_id]) == 0):
|
||||||
modos[room_id] = [state['event']['sender']]
|
modos[room_id] = [state['event']['sender']]
|
||||||
time.sleep(2)
|
|
||||||
del bot
|
|
||||||
save()
|
|
||||||
main()
|
|
||||||
except:
|
except:
|
||||||
print("Impossible de rejoindre ce salon")
|
print("Impossible de rejoindre ce salon")
|
||||||
|
time.sleep(2)
|
||||||
|
del bot
|
||||||
|
save()
|
||||||
|
main()
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
|
|
Loading…
Reference in a new issue