odin-bot-v2 icon indicating copy to clipboard operation
odin-bot-v2 copied to clipboard

Context menu action - ban spammers not caught by automod

Open JustWaveThings opened this issue 7 months ago • 5 comments

Checks

  • [x] I have thoroughly read and understand The Odin Project Contributing Guide
  • [x] The title of this issue follows the command name: brief description of request format, e.g. /help: add optional @user parameter

Do you want to be assigned to this issue?

  • [ ] I would like to be assigned this issue to work on it

Description of the Feature Request

Based off the awesome work that @Mclilzee did in #548, I'd like to explore extending the functionality of the ban spammer command to beyond the #automod-block channel to every channel on the server.

Acceptance Criteria

  • [ ] Performs same actions as the context menu action 'ban spammer' but in all channels.
  • [ ] When not using the command in the #automod-block channel, the option is presented to ban save or ban with the default choice being ban save. If ban-save is selected, then delete the message that the command was initiated on.

ban deletes all recent messages automatically across all channels ban save doesn't delete messages (which is the default action we want to take unless an account spams multiple channels)

  • [ ] Robust unit tests

Additional information

No response

JustWaveThings avatar Mar 10 '25 17:03 JustWaveThings