From 6cf08376da997689104f859290400c42da5ecd07 Mon Sep 17 00:00:00 2001 From: Specoolazius Date: Sat, 2 Apr 2022 21:02:28 +0200 Subject: [PATCH] simplified run.py --- bot/run.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot/run.py b/bot/run.py index 3913eb5..f03bc52 100644 --- a/bot/run.py +++ b/bot/run.py @@ -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)