You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Commands/InteractionCommands/NicknameLockInteraction.cs
+8-4
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ public class NicknameLockInteraction : ApplicationCommandModule
13
13
publicclassNicknameLockSlashCommands
14
14
{
15
15
[SlashCommand("enable","Prevent a member from changing their nickname.")]
16
-
publicasyncTaskNicknameLockEnableSlashCmd(InteractionContextctx,[Option("member","The member to nickname lock.")]DiscordUserdiscordUser)
16
+
publicasyncTaskNicknameLockEnableSlashCmd(InteractionContextctx,[Option("member","The member to nickname lock.")]DiscordUserdiscordUser,[Option("nickname","The nickname to use. Will use current nickname if not set.")]stringnickname="")
17
17
{
18
18
DiscordMembermember=default;
19
19
@@ -28,13 +28,17 @@ public async Task NicknameLockEnableSlashCmd(InteractionContext ctx, [Option("me
0 commit comments