summaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
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()