34 lines
620 B
Python
34 lines
620 B
Python
"""Global objects and variables"""
|
|
|
|
from objects import tokenList
|
|
from objects import channelList
|
|
from objects import matchList
|
|
from objects import fileLocks
|
|
|
|
try:
|
|
with open("version") as f:
|
|
VERSION = f.read()
|
|
if VERSION == "":
|
|
raise
|
|
except:
|
|
VERSION = "¯\_(xd)_/¯"
|
|
|
|
db = None
|
|
conf = None
|
|
banchoConf = None
|
|
tokens = tokenList.tokenList()
|
|
channels = channelList.channelList()
|
|
matches = matchList.matchList()
|
|
restarting = False
|
|
pool = None
|
|
fLocks = fileLocks.fileLocks()
|
|
cloudflare = False
|
|
|
|
debug = False
|
|
outputRequestTime = False
|
|
outputPackets = False
|
|
discord = False
|
|
gzip = False
|
|
localize = False
|
|
sentry = False
|