This commit is contained in:
2022-03-30 16:08:06 +02:00
parent d9d42ad735
commit dbf34c639d
9 changed files with 131 additions and 0 deletions

16
bot/run.py Normal file
View File

@@ -0,0 +1,16 @@
import sys
from aiohttp import ClientConnectorError
from libs.bot import ServerBot
if __name__ == '__main__':
bot = ServerBot()
try:
bot.run()
except ClientConnectorError as e:
sys.exit(-59)
sys.exit(0)