mirror of
https://github.com/kurbezz/discord-bot.git
synced 2026-03-03 10:10:48 +01:00
Fix
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from asyncio import run
|
||||
from asyncio import run, set_event_loop_policy
|
||||
|
||||
import uvloop
|
||||
|
||||
from core.temporal import get_client
|
||||
|
||||
@@ -53,4 +55,7 @@ async def main():
|
||||
await worker.run()
|
||||
|
||||
|
||||
set_event_loop_policy(uvloop.EventLoopPolicy())
|
||||
|
||||
|
||||
run(main())
|
||||
|
||||
Reference in New Issue
Block a user