Skip to content

Commit 74df3e0

Browse files
Make /tqsmute reason argument optional to match !tqsmute
1 parent 80faba4 commit 74df3e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Commands/InteractionCommands/MuteInteractions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public async Task UnmuteSlashCommand(
9595
public async Task TqsMuteSlashCommand(
9696
InteractionContext ctx,
9797
[Option("user", "The user to mute.")] DiscordUser targetUser,
98-
[Option("reason", "The reason for the mute.")] string reason)
98+
[Option("reason", "The reason for the mute.")] string reason = "No reason specified.")
9999
{
100100
await ctx.DeferAsync(ephemeral: true);
101101

0 commit comments

Comments
 (0)