summaryrefslogtreecommitdiff
path: root/bot.py
blob: fdf45cb53cca07f3d3b84b10ae8bc6acdd95824b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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()