From 536e83cd82ab26a4e67090b6eb33b029c7650466 Mon Sep 17 00:00:00 2001 From: 0xd3d0c3d <0xd3d0c3d@protonmail.com> Date: Wed, 24 Aug 2022 04:38:32 -0500 Subject: [PATCH] v2.666 --- plugins/net_hydra_plugin.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/plugins/net_hydra_plugin.py b/plugins/net_hydra_plugin.py index f3ac8ce..4b02920 100644 --- a/plugins/net_hydra_plugin.py +++ b/plugins/net_hydra_plugin.py @@ -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)