ISAFK = False AFKREASON = None link = "https://people.eecs.berkeley.edu/~rich.zhang/projects/2016_colorization/files/demo_v2/colorization_release_v2.caffemodel" km = "./resources/imgcolour/colorization_release_v2.caffemodel" pathz = "./resources/imgcolour/" if os.path.exists(km): pass else: try: sedlyf = wget.download(link, out=pathz) except: sedprint.info("I Wasn't Able To Download Cafee Model. Skipping.") if Config.NOSPAMPLUS_TOKEN == None: sclient = None sedprint.info("[Warning] - NoSpamPlusToken is None") else: try: sclient = Connect(Config.NOSPAMPLUS_TOKEN) except Exception as e: sclient = None sedprint.info("[Warning] - " + str(e)) try: if not os.path.isdir(Config.TMP_DOWNLOAD_DIRECTORY): os.makedirs(Config.TMP_DOWNLOAD_DIRECTORY) if not os.path.isdir(TEMP_DOWNLOAD_DIRECTORY): os.makedirs(TEMP_DOWNLOAD_DIRECTORY) except: pass DEVIL_version = "1.0" DEVIL_name = "WHITEDEVILUSERBOT V1.0"
"https://raw.githubusercontent.com/yshalsager/cmrudl.py/master/cmrudl.py": "bin/cmrudl", } for binary, path in binaries.items(): downloader = SmartDL(binary, path, progress_bar=False) downloader.start() os.chmod(path, 0o755) # Global Variables COUNT_MSG = 0 USERS = {} COUNT_PM = {} LASTMSG = {} CMD_HELP = {} ISAFK = False AFKREASON = None # AntispamINC Client if Config.NOSPAM_TOKEN == None: sclient = None sedprint.info("[Warning] - NoSpam + is None") else: try: sclient = Connect(Config.NOSPAM_TOKEN) except Exception as e: sclient = None sedprint.info("[Warning] - " + e) sed.info("NoSpam+ Client Failed to Start \nReason : " + e)