reworked sign up workflow
This commit is contained in:
parent
2a9cd89783
commit
19595e52bf
4 changed files with 51 additions and 20 deletions
|
@ -37,7 +37,11 @@ namespace DiscordBot.CommandHandlers
|
|||
AccountSelectionMessage.Parameters accountParameters = AccountSelectionMessage.ParseId(component.Data.CustomId);
|
||||
int accountId = int.Parse(component.Data.Values.First());
|
||||
await _handlerFunctions.SignUp(accountParameters.ButtonType, accountParameters.RaidId, accountParameters.RoleId, accountParameters.UserIdToSignUp, accountId, accountParameters.SignedUpByUserId);
|
||||
await component.RespondAsync("successfully signed up", ephemeral: true);
|
||||
await component.UpdateAsync(x =>
|
||||
{
|
||||
x.Content = "successfully signed up";
|
||||
x.Components = null;
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue