mcserver-discordbot/bot/run.py

21 lines
304 B
Python
Raw Normal View History

2022-04-02 21:07:11 +02:00
"""
Project is under GNU GENERAL PUBLIC LICENSE 3.0
2022, created by Specoolazius
"""
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)