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

Mute .NET 8 Cleanup & Reason Presets #329

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

Ayymoss
Copy link
Collaborator

@Ayymoss Ayymoss commented Jun 29, 2024

Add web front reason preset defaults.

Misc Mute code cleanup for .NET 8.

The MuteManager constructor within the Mute plugin has been refactored for better dependency injection. This change simplifies the class construction by directly initializing fields in the constructor parameters. Additionally, several minor code improvements have been made, including spelling corrections and replacing some conditional checks for readability. Other arrays or methods in the plugin are also revised for better maintainability and readability of the code.
@RaidMax
Copy link
Owner

RaidMax commented Jun 30, 2024

LGTM. I've added the necessary translation keys:
PLUGINS_MUTE_REASON_SPAMMING = Spamming
PLUGINS_MUTE_REASON_ABUSIVE = Abusive
PLUGINS_MUTE_REASON_OTHER = Other

@RaidMax RaidMax merged commit ba633be into RaidMax:develop Jun 30, 2024
4 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