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)
|
||||
while True:
|
||||
try:
|
||||
loop = asyncio.new_event_loop()
|
||||
#asyncio.set_event_loop(loop)
|
||||
loop.run_until_complete(main())
|
||||
asyncio.run(main())
|
||||
except KeyboardInterrupt:
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue