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 Banner for Profile & Prevent Self-Target & Correctly Expire Early Unmutes #272

Merged
merged 8 commits into from
Oct 24, 2022

Conversation

Ayymoss
Copy link
Collaborator

@Ayymoss Ayymoss commented Oct 21, 2022

Add a temp/mute banner to their profile. (Priority lowered so as not to overwrite temp/ban banners)
Let the user know they cannot target themselves.
Displays mute expiration on penalty if unmuted early.
Added condition to prevent expiration unmute spam.

COMMANDS_DENY_SELF_TARGET = You cannot target yourself

WEBFRONT_PROFILE_MUTE_INFO = Temporarily muted for {{reason}} with {{time}} remaining
WEBFRONT_PROFILE_TEMPMUTE_INFO = Permanently muted for {{reason}}

Remove creation of penalty on mute expiration
Expire mute penalties on unmute
Added comment in ClientController.cs
Fixed order of operations in MuteManager.cs
Fixed condition in MuteManager.cs
Remove creation of penalty on mute expiration
Expire mute penalties on unmute
Added comment in ClientController.cs
Fixed order of operations in MuteManager.cs
Fixed condition in MuteManager.cs
@Ayymoss Ayymoss changed the title Display Mute Banner for Profile & Prevent Self-Target & Correct Expire Mutes Mute Banner for Profile & Prevent Self-Target & Correctly Expire Early Unmutes Oct 23, 2022
Fix null reference warning (it should never be null) (34da216)
@RaidMax RaidMax merged commit 7180bfe into RaidMax:release/pre Oct 24, 2022
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