v2.666
This commit is contained in:
parent
2fc031208e
commit
536e83cd82
@ -13,19 +13,17 @@ class Plugin:
|
||||
#######################################################################################
|
||||
def __init__(self,bot):
|
||||
self.bot=bot
|
||||
self.mode="dupe"
|
||||
self.enforcing=False
|
||||
self.token="Z12345678901234567"
|
||||
self.color=""
|
||||
try:
|
||||
self.mode=os.environ['HYDRA_DESIGNATION']
|
||||
self.home=os.environ['HYDRA_HOME']
|
||||
self.enforcing=True
|
||||
except:
|
||||
self.mode="dupe"
|
||||
self.mode=""
|
||||
self.enforcing=False
|
||||
self.token=Z12345678901234567
|
||||
except:
|
||||
return
|
||||
self.color=""
|
||||
if self.mode=="core": self.color="\x0304"
|
||||
token=""
|
||||
for i in range(7): token+=hex(rint(0,255))[2:].zfill(2).upper()
|
||||
token+=hex(int(datetime.now().timestamp()))[-4:].upper()
|
||||
token=list(token)
|
||||
|
Loading…
Reference in New Issue
Block a user