hotfix and add button to edit user passport id

This commit is contained in:
Дмитрий Шиманский
2023-11-26 20:19:07 +03:00
parent 850f931666
commit ec69e22322
5 changed files with 339 additions and 11 deletions

View File

@@ -19,6 +19,7 @@ namespace DiscordApp.Justice.Commands
var Components = new ComponentBuilder()
.WithButton(new ButtonBuilder() { CustomId = "newPassport", Label = "Новый паспорт", Style = ButtonStyle.Primary })
.WithButton(new ButtonBuilder() { CustomId = "reworkPassport", Label = "Замена паспорта", Style = ButtonStyle.Primary })
.WithButton(new ButtonBuilder() { CustomId = "BuyIdPassportButton", Label = "Покупка номера", Style = ButtonStyle.Primary })
.Build();
await Context.Channel.SendMessageAsync(embed: Embed, components: Components);
await FollowupAsync("OK!");//, ephemeral: true);