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

@ -94,6 +94,10 @@ namespace DiscordBot.CommandHandlers
await _httpService.SignOff(signOffExternal);
await command.RespondAsync($"signed off {userName}", ephemeral:true);
break;
case Constants.SlashCommands.REMOVE_USER_DROPDOWN_COMMAND:
ApiRaid raid = await _httpService.GetRaid(raidId);
await command.RespondAsync("Which user do you want to sign off?", components: RemoveUserMessage.buildMessage(raid, command.User.Id), ephemeral: true);
break;
}
}