Skip to content

Commit

Permalink
Resolve review comments
Browse files Browse the repository at this point in the history
Co-authored-by: Erisa A <[email protected]>
  • Loading branch information
FloatingMilkshake and Erisa authored Mar 4, 2024
1 parent e32a103 commit 9cfc867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Commands/InteractionCommands/MuteInteractions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion Helpers/MuteHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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: <t:{TimeHelpers.ToUnixTimestamp(expireTime)}:R>");
}
Expand Down

0 comments on commit 9cfc867

Please sign in to comment.