@Mail.send_exception_info_to_admin_emails_async
async def on_ready(self) -> None:
    self._load_plugins()
    log.info(f'Logged in as: {self.user.name} {self.user.id} ({self.__class__.__name__}), instance: {self.instance_name}')
    self.bot_cache.update({'ready': True})
    self.bot_cache.dump_to_file()
    bc.guilds = self.guilds
    for guild in self.guilds:
        if (guild.id not in self.config.guilds.keys()):
            self.config.guilds[guild.id] = GuildSettings(guild.id)
    bc.bot_user = self.user
    self.loop.create_task(self._config_autosave())
    self.loop.create_task(self._precompile())
@Mail.send_exception_info_to_admin_emails_async
async def on_ready(self) -> None:
    self._load_plugins()
    log.info(f'Logged in as: {self.user.name} {self.user.id} ({self.__class__.__name__}), instance: {self.instance_name}')
    self.bot_cache.update({'ready': True})
    self.bot_cache.dump_to_file()
    bc.guilds = self.guilds
    for guild in self.guilds:
        if (guild.id not in self.config.guilds.keys()):
            self.config.guilds[guild.id] = GuildSettings(guild.id)
    bc.bot_user = self.user
    self.loop.create_task(self._config_autosave())
    self.loop.create_task(self._precompile())