[PR #1003] [MERGED] Some anti-spam enhancements #1008

Closed
opened 2026-02-15 15:57:28 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RPCS3/discord-bot/pull/1003
Author: @13xforever
Created: 7/17/2025
Status: Merged
Merged: 7/17/2025
Merged by: @13xforever

Base: masterHead: vnext


📝 Commits (4)

  • 00853aa add anti-spam handler that removes the same message in multiple channels
  • ec02017 send user dm if content filter has kicked the user
  • 7c246d6 send DM when bot detects an old bot command
  • b1537dd log removed spam content message

📊 Changes

4 files changed (+83 additions, -1 deletions)

View changed files

📝 CompatBot/Commands/Processors/CommandErroredHandler.cs (+10 -0)
📝 CompatBot/Database/Providers/ContentFilter.cs (+6 -1)
CompatBot/EventHandlers/AntiSpamMessageHandler.cs (+66 -0)
📝 CompatBot/Program.cs (+1 -0)

📄 Description

  • keep track and remove extra copies of the same message in multiple channels
    • limited to 10 seconds
    • sends DM to the user (once per detection)
  • try to send DMs in certain circumstances
    • if content filter has Kick action
    • if error handler detects an old bot command

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RPCS3/discord-bot/pull/1003 **Author:** [@13xforever](https://github.com/13xforever) **Created:** 7/17/2025 **Status:** ✅ Merged **Merged:** 7/17/2025 **Merged by:** [@13xforever](https://github.com/13xforever) **Base:** `master` ← **Head:** `vnext` --- ### 📝 Commits (4) - [`00853aa`](https://github.com/RPCS3/discord-bot/commit/00853aa3a30985e24af5989e703fa838c6785883) add anti-spam handler that removes the same message in multiple channels - [`ec02017`](https://github.com/RPCS3/discord-bot/commit/ec020174b9e1925feca7a1f05632493b2113b0fc) send user dm if content filter has kicked the user - [`7c246d6`](https://github.com/RPCS3/discord-bot/commit/7c246d6796aba09f532ea4dff88750ba10db18d6) send DM when bot detects an old bot command - [`b1537dd`](https://github.com/RPCS3/discord-bot/commit/b1537ddcbce3561194932bb43b4a14a613ba48ad) log removed spam content message ### 📊 Changes **4 files changed** (+83 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CompatBot/Commands/Processors/CommandErroredHandler.cs` (+10 -0) 📝 `CompatBot/Database/Providers/ContentFilter.cs` (+6 -1) ➕ `CompatBot/EventHandlers/AntiSpamMessageHandler.cs` (+66 -0) 📝 `CompatBot/Program.cs` (+1 -0) </details> ### 📄 Description * keep track and remove extra copies of the same message in multiple channels * limited to 10 seconds * sends DM to the user (once per detection) * try to send DMs in certain circumstances * if content filter has Kick action * if error handler detects an old bot command --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 15:57:28 -05:00
yindo closed this issue 2026-02-15 15:57:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RPCS3/discord-bot#1008