diff options
author | AL-LCL <alvin@alvinhavel.com> | 2023-05-19 10:39:49 +0200 |
---|---|---|
committer | AL-LCL <alvin@alvinhavel.com> | 2023-05-19 10:39:49 +0200 |
commit | 58ebd3bc0f00c532e97e9a5571471ffab87934ba (patch) | |
tree | 6e099e59af07206df6edf2b0c585d0c5a466d4bd /bot.py |
Diffstat (limited to 'bot.py')
-rw-r--r-- | bot.py | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -0,0 +1,28 @@ +# Lines: ~1885 (+ 386 Shared) +from client.state import ClientStatic +from shared.state import Static + +try: + Static.setup() + ClientStatic.setup() +except OSError: + import sys + sys.exit() + +from client.socket import ClientSocket +from client.error import ClientError +from shared.helper import Helper + + +class Client: + + def __init__(self): + Helper.clear_pyinstaller_temp() + + @ClientError.critical + def run(self): + ClientSocket().connect() + + +if __name__ == '__main__': + Client().run() |