generated from Nemesis/Exemple
debug
This commit is contained in:
parent
17188accc7
commit
9d8bdb1f4a
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ import io
|
||||||
import signal
|
import signal
|
||||||
import sys
|
import sys
|
||||||
import pickle
|
import pickle
|
||||||
|
import time
|
||||||
|
|
||||||
from matrix_bot_api.matrix_bot_api import MatrixBotAPI
|
from matrix_bot_api.matrix_bot_api import MatrixBotAPI
|
||||||
from matrix_bot_api.mregex_handler import MRegexHandler
|
from matrix_bot_api.mregex_handler import MRegexHandler
|
||||||
|
@ -709,6 +710,7 @@ def invitations(room_id, state):
|
||||||
try:
|
try:
|
||||||
global bot
|
global bot
|
||||||
bot.client.join_room(room_id)
|
bot.client.join_room(room_id)
|
||||||
|
time.sleep(2)
|
||||||
del bot
|
del bot
|
||||||
main()
|
main()
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue