Skip to content
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

feat(moderation): add heat punishments #172

Draft
wants to merge 6 commits into
base: 4.0
Choose a base branch
from
Draft

Conversation

HyxonQz
Copy link
Collaborator

@HyxonQz HyxonQz commented Apr 22, 2024

Added automatic punishment system, designed to track spam and profanity. Works by taking multiple factors (message length, message frequency and user infractions) to determine a sanction if necessary. Tracking method is heat based, where users gain heat by interacting and lose it naturally, anyone with 1 heat will be punished.
Example (works ingame & in discord):
image

@HyxonQz HyxonQz added enhancement New feature or request help wanted Extra attention is needed labels Apr 22, 2024
@HyxonQz HyxonQz requested a review from aidn3 April 22, 2024 21:16
@HyxonQz HyxonQz self-assigned this Apr 22, 2024
Copy link
Owner

@aidn3 aidn3 left a comment

Choose a reason for hiding this comment

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

There are many other changes that can be done but are dependent on these changes and how you will approach it. First finish these ones and request another review.

src/instance/discord/chat-manager.ts Show resolved Hide resolved
src/plugins/auto-moderation-plugin.ts Show resolved Hide resolved
src/common/application-event.ts Show resolved Hide resolved
src/plugins/auto-moderation-plugin.ts Show resolved Hide resolved
src/plugins/auto-moderation-plugin.ts Show resolved Hide resolved
src/plugins/auto-moderation-plugin.ts Show resolved Hide resolved
src/plugins/auto-moderation-plugin.ts Show resolved Hide resolved
src/plugins/auto-moderation-plugin.ts Show resolved Hide resolved
src/plugins/auto-moderation-plugin.ts Show resolved Hide resolved
@aidn3 aidn3 added this to the 3.2.0 milestone May 14, 2024
@aidn3 aidn3 modified the milestones: 3.2.0, 3.3.0 Sep 3, 2024
@aidn3 aidn3 modified the milestones: 3.3.0, 4.0.0 Sep 8, 2024
# Conflicts:
#	src/common/application-event-ti.ts
@aidn3 aidn3 changed the base branch from master to 4.0 November 5, 2024 10:43
@aidn3 aidn3 self-assigned this Nov 5, 2024
@aidn3 aidn3 changed the title Automod beta plugin feat(moderation): add heat punishments Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants