.BANCHO. Add userID cache
This commit is contained in:
@@ -25,6 +25,7 @@ fLocks = fileLocks.fileLocks()
|
||||
verifiedCache = {}
|
||||
cloudflare = False
|
||||
chatFilters = None
|
||||
userIDCache = {}
|
||||
|
||||
debug = False
|
||||
outputRequestTime = False
|
||||
@@ -33,5 +34,6 @@ discord = False
|
||||
gzip = False
|
||||
localize = False
|
||||
sentry = False
|
||||
irc = False
|
||||
|
||||
startTime = int(time.time())
|
||||
|
@@ -11,6 +11,7 @@ import threading
|
||||
from helpers import chatHelper as chat
|
||||
|
||||
class token:
|
||||
|
||||
def __init__(self, userID, token_ = None, ip ="", irc = False, timeOffset = 0):
|
||||
"""
|
||||
Create a token object and set userID and token
|
||||
|
Reference in New Issue
Block a user