Uh oh!
There was an error while loading. Please reload this page.
feat: moderation tool migration into webdev-bot - #85
Conversation
…es to match use cases
This has several changes in one commit. Notably: - The spam detection feature has been migrated, the spam detection feature had several imports relinked to their respective webdev-bot/ counterparts - Several tests have been syntactically modified to meet the requirements of the new oxclint tool. - The (now) two caches were migrated into util/cache and their names were adapted to reflect of their exact usage. - The MAX_RULE_TIMEFRAME constant was updated to refer to the correct function instead of the placeholder. It may currently break convention by importing from the features/. - Currently 2 tests fail, one from the advent calendar and one from the newly migrated spam-detection feature. Will follow up in next commit.
a stray console log led me to think the migration broke tests
Draft means it is not ready for review. Make it ready for review if you want a review. |
Also, change the convention on this feature to match that of webdev-bot/
michal-skraburski
commented
Aug 16, 2026
Sorry about that, I'm still learning the conventions of PR's so I will note this for the future. I've finished the implementation, and I hope I met your expectations. If not, I will happily take your critical assessment and revise the code. Thanks for your help! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Cake <letsmailali.h@gmail.com>
Co-authored-by: Cake <letsmailali.h@gmail.com>
Co-authored-by: Cake <letsmailali.h@gmail.com>
4769ad7 to
13fc65dCompare
Moderation Tool Migration
Overview
This is a PR migrating the spam detection and moderation system for the webdev-bot from the moderation-tool bot, addressing the issue found here: #80
What I Did
SPAM_DETECTION_CHANNEL_IDto all environment filesStatus:
DONE - Ready for review and feedback before finalization.
Made with ❤️, written by hand