simplified run.py

This commit is contained in:
Specoolazius 2022-04-02 21:02:28 +02:00
parent 71a590b9a6
commit 6cf08376da

View File

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