Skip to content

Ping protection v2.6 - #215

Merged
SCDerox merged 5 commits into
ScootKit:mainfrom
Kevinking500:ping-protection-v2.6
Nov 29, 2026
Merged

SCDerox merged 5 commits into
ScootKit:mainfrom
Kevinking500:ping-protection-v2.6

Conversation

@Kevinking500

@Kevinking500 Kevinking500 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Ping Protection V2.6 - Quality update

After some user feedback and self awareness testing, I have decided to do another last update to update the module slightly for users (oh how nice I am).

This update includes the following:

  • [QoL] Toggles for each easter egg so users can enable/disable individual easter eggs
  • [QoL] Supported whitelisted categories for AutoMod
  • [bug fix] Fixed that AutoMod doesn't actually re-sync or creates a new rule after someone's toggle expired
  • [bug fix] Fixed that the toggle feature blocked AutoMod from syncing at startup
  • [bug fix] Fixed that threads inside whitelisted categories are ignored
  • [QoL] When the protected members/roles limit reaches 1000 entries in the AutoMod rule, then the bot automatically removes all <@!> mentions to save entries and adds the remaining entries for protected users/roles if it does ever somehow exceed 500 members/roles.

AI note: Made with antigravity.

@SCDerox

SCDerox commented Nov 29, 2026

Copy link
Copy Markdown
Member

Thanks for the update, Kevin! The easter egg toggles and the AutoMod fixes look good to us.

One small thing in the tests: in tests/ping-protection/messageCreate.test.js, the two bot-ping reply tests ("ignores automatic reply without manual ping when allowReplyPings is true" and "processes manual protected ping when replying to the bot with allowReplyPings enabled") no longer test what they used to. makeConfig now defaults botPingEasterEgg to false, so msg.reply is never called and the "easter egg is skipped for automatic reply pings" assertion passes whatever the code does. Passing botPingEasterEgg: true in those two tests brings the check back.

Would it be okay if we fix those two tests for you (a small commit on your branch, or a follow-up PR if you prefer)? Just let us know.

This reply was written with AI assistance.

@Kevinking500

Copy link
Copy Markdown
Contributor Author

Thanks for the review! Said small problem has been fixed :)

@SCDerox SCDerox left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the changes and merged them into our internal version, tests and lint pass. Thanks Kevin! (AI assisted review)

@SCDerox
SCDerox merged commit 2e981c1 into ScootKit:main Nov 29, 2026
8 of 9 checks passed
@Kevinking500
Kevinking500 deleted the ping-protection-v2.6 branch November 29, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants