From 0b47ad37ed261766327b089d4338bace0b06dadc Mon Sep 17 00:00:00 2001 From: Stanley Dimant Date: Tue, 2 Aug 2022 22:03:34 +0200 Subject: [PATCH] try adding two options --- .../MareSynchronosServer/Discord/DiscordBot.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MareSynchronosServer/MareSynchronosServer/Discord/DiscordBot.cs b/MareSynchronosServer/MareSynchronosServer/Discord/DiscordBot.cs index 631725a..de98861 100644 --- a/MareSynchronosServer/MareSynchronosServer/Discord/DiscordBot.cs +++ b/MareSynchronosServer/MareSynchronosServer/Discord/DiscordBot.cs @@ -293,7 +293,10 @@ namespace MareSynchronosServer.Discord { var register = new SlashCommandBuilder() .WithName("register") - .WithDescription("Starts the registration process for the Mare Synchronos server of this Discord") + .WithDescription("Registration for the Mare Synchronos server of this Discord") + .AddOption(new SlashCommandOptionBuilder() + .WithDescription("Starts the registration process for the Mare Synchronos server of this Discord") + .WithType(ApplicationCommandOptionType.SubCommand)) .AddOption(new SlashCommandOptionBuilder() .WithName("forced") .WithDescription("Will forcefully overwrite your current character on the service, if present")