Massive refactor of pretty much everything in the bot
This commit is contained in:
11
src/bot_main.py
Normal file
11
src/bot_main.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import asyncio
|
||||
import os
|
||||
import uvloop
|
||||
|
||||
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
||||
|
||||
from pluralkit import bot
|
||||
|
||||
pk = bot.PluralKitBot(os.environ["TOKEN"])
|
||||
loop = asyncio.get_event_loop()
|
||||
loop.run_until_complete(pk.run())
|
||||
Reference in New Issue
Block a user