@Mail.send_exception_info_to_admin_emails_async
async def on_message_edit(self, old_message: discord.Message, message: discord.Message) -> None:
    if (message.embeds != old_message.embeds):
        log.info(f'<{message.id}> (edit, embed update) {message.author} -> {message.content}')
        return
    if self.config.guilds[message.channel.guild.id].ignored:
        return
    bc.message_buffer.push(message)
    log.info(f'<{message.id}> (edit) {message.author} -> {message.content}')
    if (message.author.id == self.user.id):
        return
    if isinstance(message.channel, discord.DMChannel):
        return
    if (message.channel.guild.id is None):
        return
    if self.config.guilds[message.channel.guild.id].is_whitelisted:
        if (message.channel.id not in self.config.guilds[message.channel.guild.id].whitelist):
            return
    if (message.author.id not in self.config.users.keys()):
        self.config.users[message.author.id] = User(message.author.id)
    if (self.config.users[message.author.id].permission_level < 0):
        return
    if message.content.startswith(self.config.commands_prefix):
        (await self._process_command(message))
@Mail.send_exception_info_to_admin_emails_async
async def on_message_edit(self, old_message: discord.Message, message: discord.Message) -> None:
    if (message.embeds != old_message.embeds):
        log.info(f'<{message.id}> (edit, embed update) {message.author} -> {message.content}')
        return
    if self.config.guilds[message.channel.guild.id].ignored:
        return
    bc.message_buffer.push(message)
    log.info(f'<{message.id}> (edit) {message.author} -> {message.content}')
    if (message.author.id == self.user.id):
        return
    if isinstance(message.channel, discord.DMChannel):
        return
    if (message.channel.guild.id is None):
        return
    if self.config.guilds[message.channel.guild.id].is_whitelisted:
        if (message.channel.id not in self.config.guilds[message.channel.guild.id].whitelist):
            return
    if (message.author.id not in self.config.users.keys()):
        self.config.users[message.author.id] = User(message.author.id)
    if (self.config.users[message.author.id].permission_level < 0):
        return
    if message.content.startswith(self.config.commands_prefix):
        (await self._process_command(message))