Added Remove user via dropdown command

This commit is contained in:
t.ruspekhofer 2022-12-26 11:17:12 +01:00
parent 05487cba84
commit bb5926d062
5 changed files with 97 additions and 4 deletions

View file

@ -47,6 +47,12 @@ namespace DiscordBot.SlashCommands
.AddOption(Constants.SlashCommands.OptionNames.RAID_ID, ApplicationCommandOptionType.Integer, "The Id of the Raid, found at the bottom of the raid message", isRequired: true)
.AddOption(Constants.SlashCommands.OptionNames.USER_NAME, ApplicationCommandOptionType.String, "The user name you want to sign off", isRequired: true)
)
.AddOption(new SlashCommandOptionBuilder()
.WithName(Constants.SlashCommands.REMOVE_USER_DROPDOWN_COMMAND)
.WithDescription("Sign off user via dropdown")
.WithType(ApplicationCommandOptionType.SubCommand)
.AddOption(Constants.SlashCommands.OptionNames.RAID_ID, ApplicationCommandOptionType.Integer, "The Id of the Raid, found at the bottom of the raid message", isRequired: true)
)
)
.AddOption(new SlashCommandOptionBuilder()
.WithName(Constants.SlashCommands.SEND_MESSAGE_COMMAND)