summaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authorAL-LCL <alvin@alvinhavel.com>2023-05-19 10:39:49 +0200
committerAL-LCL <alvin@alvinhavel.com>2023-05-19 10:39:49 +0200
commit58ebd3bc0f00c532e97e9a5571471ffab87934ba (patch)
tree6e099e59af07206df6edf2b0c585d0c5a466d4bd /bot.py
GOD-VIEWHEADmain
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/bot.py b/bot.py
new file mode 100644
index 0000000..fdf45cb
--- /dev/null
+++ b/bot.py
@@ -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()