From 9cfc867b95e5c50508debc664e614f4fe1aa1d70 Mon Sep 17 00:00:00 2001 From: Milkshake Date: Sun, 3 Mar 2024 22:28:51 -0500 Subject: [PATCH] Resolve review comments Co-authored-by: Erisa A --- Commands/InteractionCommands/MuteInteractions.cs | 2 +- Helpers/MuteHelpers.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Commands/InteractionCommands/MuteInteractions.cs b/Commands/InteractionCommands/MuteInteractions.cs index e9a68ba1..b0f48b1e 100644 --- a/Commands/InteractionCommands/MuteInteractions.cs +++ b/Commands/InteractionCommands/MuteInteractions.cs @@ -95,7 +95,7 @@ public async Task UnmuteSlashCommand( public async Task TqsMuteSlashCommand( InteractionContext ctx, [Option("user", "The user to mute.")] DiscordUser targetUser, - [Option("reason", "The reason for the mute.")] string reason = "No reason specified.") + [Option("reason", "The reason for the mute.")] string reason) { await ctx.DeferAsync(ephemeral: true); diff --git a/Helpers/MuteHelpers.cs b/Helpers/MuteHelpers.cs index cb4bb6df..8c748f02 100644 --- a/Helpers/MuteHelpers.cs +++ b/Helpers/MuteHelpers.cs @@ -223,7 +223,7 @@ public static (int MuteHours, int WarnsSinceThreshold) GetHoursToMuteFor(Diction { if (isTqsMute) { - output.dmMessage = await naughtyMember.SendMessageAsync($"{Program.cfgjson.Emoji.Muted} You have been temporarily muted in **tech support channels only** in **{guild.Name}** for **{TimeHelpers.TimeToPrettyFormat(muteDuration, false)}** pending action from a Moderator." + + output.dmMessage = await naughtyMember.SendMessageAsync($"{Program.cfgjson.Emoji.Muted} You have been temporarily muted, in **tech support channels only**, in **{guild.Name}** for **{TimeHelpers.TimeToPrettyFormat(muteDuration, false)}** pending action from a Moderator." + $"\nReason: **{reason}**" + $"\nMute expires: "); }