def start(self): L.l1('[+] Starting account age queue thread.') threading.Thread(target=self.account_age).start()
def start(self): L.l1('[+] Starting bot threads.') threading.Thread(target=self._uptime).start() threading.Thread(target=self.file_task).start()
async def hakc_automation(self): L.l1('[+] Starting automated command process.') await asyncio.gather( self.Automate.reset_line_count(), self.Automate.timeout(), *[self.Automate.timers(k, v) for k,v in self.Commands._AUTOMATE.items()])
def start(self): L.l1('[+] Starting bot threads.') threading.Thread(target=self._uptime).start() threading.Thread(target=self._update_config).start()
def _apply_cooldown(self, cmd, cd_len): L.l1(f'Putting {cmd} on cooldown.') self.Hakcbot.Commands._COMMANDS[cmd] = fast_time() + cd_len