forked from Qursch/CWHQ-Discourse-Bot
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Advanced Moderation + a LOT of features #29
Open
importstring
wants to merge
9
commits into
codewizardshq:main
Choose a base branch
from
importstring:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warm_welcome.rb
Implemented enhanced moderation tools, user engagement features, and custom commands to improve the CWHQ Discourse Bot: 1. Enhanced Moderation Tools: - Profanity Filter: - Detects and flags posts containing explicit language using an extensive list of profane words. - Sends a private message to the user notifying them of the inappropriate content and flags the post for moderators. - Spam Detection: - Flags posts containing more than five links as potential spam. - Sends a private message to the user and flags the post for moderators. 2. User Engagement: - Daily/Weekly Summary: - Automatically generates and posts a summary of the top 5 most viewed discussions. - Keeps the community informed and engaged with popular topics. 3. Custom Commands: - Advanced Help Command: - Adds a custom command `@system help advanced` to provide advanced resources and help links to users. - Responds with a detailed list of useful forum resources when triggered. Benefits: - Improved Moderation: Helps maintain a respectful and spam-free community by automatically flagging inappropriate content. - Increased Engagement: Keeps users informed about popular discussions and makes new users feel welcome, potentially increasing their participation. - Enhanced User Support: Provides quick access to advanced help resources through custom commands. # Testing: - All new features have been tested locally to ensure they work as expected. - The profanity filter was tested with various profane words to confirm it flags posts correctly. - Spam detection was tested by creating posts with multiple links. - The daily/weekly summary feature was tested to ensure summaries are generated and posted correctly. - The welcome message and custom commands were tested by creating new user accounts and posting commands.
Implement Enhanced Moderation, User Engagement, and Custom Commands Features
Implemented a user onboarding checklist feature to help new users get started on the forum. ### Changes Introduced: 1. **User Onboarding Checklist**: - **Onboarding Tasks**: - Fill out profile - Make first post - Read community guidelines - **Progress Tracking**: - Tracks the completion of each task. - Uses user profile bio, post count, and a custom field for reading guidelines. - **Notifications**: - Sends reminders to users about their onboarding progress. - Uses private messages to inform users about their progress and remaining tasks. ### Benefits: - **Improved User Experience**: - Helps new users get acquainted with the forum and encourages them to complete important tasks. - **Increased Engagement**: - Ensures that new users are actively participating and getting the most out of the community. - Personalized messages make users feel welcomed and guided through their initial steps. ### Testing: - **Checklist Creation and Progress Tracking**: - Tested by creating new user accounts and performing the tasks. - Verified that users receive notifications about their onboarding progress. - **User Activity Listeners**: - Listeners for user updates and post creations to update and notify users about their progress. - **Scheduled Notifications**: - Daily scheduled job to check user progress and send reminders. ### How It Works: 1. **Define Onboarding Tasks**: - A list of tasks such as filling out their profile, making their first post, and reading community guidelines. 2. **Track User Progress**: - Implement logic to check which tasks a user has completed. 3. **Notify Users**: - Send private messages to users with their progress and remaining tasks. 4. **Schedule Progress Checks**: - Daily job to check user progress and send notifications. This feature provides new users with a clear path to getting started on the forum, ensuring they complete essential tasks and engage with the community effectively.
Implemented a user onboarding checklist feature to help new users get started on the forum. ### Changes Introduced: 1. **User Onboarding Checklist**: - **Onboarding Tasks**: - Fill out profile - Make first post - Read community guidelines - **Progress Tracking**: - Tracks the completion of each task. - Uses user profile bio, post count, and a custom field for reading guidelines. - **Notifications**: - Sends reminders to users about their onboarding progress. - Uses private messages to inform users about their progress and remaining tasks. ### Benefits: - **Improved User Experience**: - Helps new users get acquainted with the forum and encourages them to complete important tasks. - **Increased Engagement**: - Ensures that new users are actively participating and getting the most out of the community. - Personalized messages make users feel welcomed and guided through their initial steps. ### Testing: - **Checklist Creation and Progress Tracking**: - Tested by creating new user accounts and performing the tasks. - Verified that users receive notifications about their onboarding progress. - **User Activity Listeners**: - Listeners for user updates and post creations to update and notify users about their progress. - **Scheduled Notifications**: - Daily scheduled job to check user progress and send reminders. ### How It Works: 1. **Define Onboarding Tasks**: - A list of tasks such as filling out their profile, making their first post, and reading community guidelines. 2. **Track User Progress**: - Implement logic to check which tasks a user has completed. 3. **Notify Users**: - Send private messages to users with their progress and remaining tasks. 4. **Schedule Progress Checks**: - Daily job to check user progress and send notifications. This feature provides new users with a clear path to getting started on the forum, ensuring they complete essential tasks and engage with the community effectively.
Implement User Onboarding Checklist Feature
Bold important information
importstring
changed the title
Advanced Moderation
Advanced Moderation + a LOT of features
Sep 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enhanced Moderation Tools:
User Engagement:
Custom Commands:
@system help advanced
to provide advanced resources and help links to users.Benefits:
Testing: