Skip to content

update: disabled job scanner for admins/mods #472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 26, 2025

Conversation

Simplyalex99
Copy link
Contributor

description: Added edge case to disable job scanner bot for admins/mods due to certain keywords like DM me that make the bot trigger for mods/admins. This is the same helper edge case used for job moderations.

Copy link

what-the-diff bot commented Jun 26, 2025

PR Summary

  • Introduction of isStaff function
    The team has imported a function known as isStaff from a helper file related to our Discord application. This function aids in recognizing whether a user is part of the staff team or not.

  • Message Handler Modifications
    The processing of messages has been improved to bypass those coming from a staff member. This is to ensure that only the relevant user messages are processed, making the system more efficient.

  • Channel Reference Alterations in Warning Messages
    The warning messages' channel references have been updated, altering the initial reference <#${CHANNELS.jobsLog}> to now be <#${CHANNELS.jobBoard}>. This change helps to better direct the warning messages to the appropriate channel on our Discord server.

@vcarl vcarl merged commit 9348dc1 into reactiflux:main Jun 26, 2025
2 checks passed
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