Merge branch 'master' into metrics

This commit is contained in:
io mintz 2021-05-19 22:45:09 +00:00
commit c98775203a
1 changed files with 2 additions and 0 deletions

2
bot.py
View File

@ -30,6 +30,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)