def __init__(self, name: str, config: Config, secret_config: SecretConfig, intents: discord.Intents) -> None:
    super().__init__(intents=intents)
    self.repl = None
    bc.instance_name = self.instance_name = name
    self.config = config
    self.secret_config = secret_config
    self.bot_cache = BotCache(True)
    self.loop.create_task(self._process_reminders())
    self.loop.create_task(VoiceRoutine(self.bot_cache).start())
    self.loop.create_task(self._repl_routine())
    bc.config = self.config
    bc.commands = self.config.commands
    bc.background_loop = self.loop
    bc.latency = (lambda : self.latency)
    bc.change_status = self._change_status
    bc.change_presence = self.change_presence
    bc.close = self.close
    bc.secret_config = self.secret_config
    bc.info = BotInfo()
    bc.plugin_manager.register()
    bc.fetch_channel = self.fetch_channel
    if (not bc.args.fast_start):
        log.debug('Started Markov model checks...')
        if bc.markov.check():
            log.info('Markov model has passed all checks')
        else:
            log.info('Markov model has not passed checks, but all errors were fixed')
def __init__(self, name: str, config: Config, secret_config: SecretConfig, intents: discord.Intents) -> None:
    super().__init__(intents=intents)
    self.repl = None
    bc.instance_name = self.instance_name = name
    self.config = config
    self.secret_config = secret_config
    self.bot_cache = BotCache(True)
    self.loop.create_task(self._process_reminders())
    self.loop.create_task(VoiceRoutine(self.bot_cache).start())
    self.loop.create_task(self._repl_routine())
    bc.config = self.config
    bc.commands = self.config.commands
    bc.background_loop = self.loop
    bc.latency = (lambda : self.latency)
    bc.change_status = self._change_status
    bc.change_presence = self.change_presence
    bc.close = self.close
    bc.secret_config = self.secret_config
    bc.info = BotInfo()
    bc.plugin_manager.register()
    bc.fetch_channel = self.fetch_channel
    if (not bc.args.fast_start):
        log.debug('Started Markov model checks...')
        if bc.markov.check():
            log.info('Markov model has passed all checks')
        else:
            log.info('Markov model has not passed checks, but all errors were fixed')