Skip to content

Filters are triggering when bots edit messages #2549

@lxnn

Description

@lxnn

I believe the following check in the on_message listener needs to also be included in the on_message_edit listener:

if msg.author.bot or msg.webhook_id or msg.type == MessageType.auto_moderation_action:
return

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: filtersRelated to message filters: (antimalware, antispam, filtering, token_remover)p: 2 - normalNormal Priorityt: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions