Skip to content

Add per-user cooldown for opening modmails #75

@anden3

Description

@anden3

We've had a few occurrences of malicious users spamming modmails to annoy staff, and poise has a way to do cooldowns, so it might just be a matter of adding user_cooldown = 60 to the #[poise::command] for modmail.

https://docs.rs/poise/latest/poise/macros/attr.command.html#cooldown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions