add two named suboptions

This commit is contained in:
Stanley Dimant
2022-08-02 22:05:08 +02:00
parent 0b47ad37ed
commit 1c9ce846ca

View File

@@ -295,10 +295,11 @@ namespace MareSynchronosServer.Discord
.WithName("register") .WithName("register")
.WithDescription("Registration for the Mare Synchronos server of this Discord") .WithDescription("Registration for the Mare Synchronos server of this Discord")
.AddOption(new SlashCommandOptionBuilder() .AddOption(new SlashCommandOptionBuilder()
.WithName("new account")
.WithDescription("Starts the registration process for the Mare Synchronos server of this Discord") .WithDescription("Starts the registration process for the Mare Synchronos server of this Discord")
.WithType(ApplicationCommandOptionType.SubCommand)) .WithType(ApplicationCommandOptionType.SubCommand))
.AddOption(new SlashCommandOptionBuilder() .AddOption(new SlashCommandOptionBuilder()
.WithName("forced") .WithName("overwrite old account")
.WithDescription("Will forcefully overwrite your current character on the service, if present") .WithDescription("Will forcefully overwrite your current character on the service, if present")
.WithType(ApplicationCommandOptionType.SubCommand)); .WithType(ApplicationCommandOptionType.SubCommand));