mcserver-discordbot/bot/run.py

15 lines
216 B
Python
Raw Normal View History

2022-03-30 16:08:06 +02:00
import sys
from aiohttp import ClientConnectorError
2022-04-02 21:02:28 +02:00
from libs import Client
2022-03-30 16:08:06 +02:00
if __name__ == '__main__':
try:
2022-04-02 21:02:28 +02:00
Client().run()
2022-03-30 16:08:06 +02:00
except ClientConnectorError as e:
sys.exit(-59)
sys.exit(0)