1
0
Fork 0
mirror of https://github.com/uhIgnacio/EmoteManager.git synced 2024-08-15 02:23:13 +00:00

lol forgot imports

This commit is contained in:
io mintz 2021-05-19 22:44:40 +00:00
parent 1d6ad4cfd5
commit a4e4120a63

2
bot.py
View file

@ -29,6 +29,8 @@ logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
# SelectorEventLoop on windows doesn't support subprocesses lol
import asyncio
import sys
if sys.platform == 'win32':
loop = asyncio.ProactorEventLoop()
asyncio.set_event_loop(loop)