mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 08:10:10 +00:00
Massive refactor of pretty much everything in the bot
This commit is contained in:
parent
086fa84b4b
commit
8936029dc8
27 changed files with 1799 additions and 1450 deletions
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())
|
||||
Loading…
Add table
Add a link
Reference in a new issue