niho #2
1 changed files with 1 additions and 3 deletions
4
bot.py
4
bot.py
|
@ -55,9 +55,7 @@ async def main():
|
||||||
print(j)
|
print(j)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
loop = asyncio.new_event_loop()
|
asyncio.run(main())
|
||||||
#asyncio.set_event_loop(loop)
|
|
||||||
loop.run_until_complete(main())
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue