Skip to content

Commit

Permalink
Make /tqsmute reason argument optional to match !tqsmute
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Feb 15, 2024
1 parent 80faba4 commit 74df3e0
Showing 1 changed file with 1 addition and 1 deletion.
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)
[Option("reason", "The reason for the mute.")] string reason = "No reason specified.")
{
await ctx.DeferAsync(ephemeral: true);

Expand Down

0 comments on commit 74df3e0

Please sign in to comment.