hotfix: error "Webhook not found"

This commit is contained in:
Дмитрий Шиманский
2023-11-04 22:00:36 +03:00
parent 7f0728ce1a
commit e6d58309d3
2 changed files with 4 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ namespace DiscordApp.Justice.Interactions
[ModalInteraction("reworkpassportModal")]
public async Task reCreatePassportInteraction(IReWorkPassportModal modal)
{
await DeferAsync(true);
int passportId;
int.TryParse(modal.Id, out passportId);
@@ -115,6 +116,7 @@ namespace DiscordApp.Justice.Interactions
[ModalInteraction("ReNewPassportModal")]
public async Task renewPassportInteraction(INewPassportModal modal)
{
await DeferAsync(true);
string name = modal.NickName;
string RpName = modal.RPName;
@@ -241,6 +243,7 @@ namespace DiscordApp.Justice.Interactions
[ModalInteraction("passportModal")]
public async Task createPassportInteraction(INewPassportModal modal)
{
await DeferAsync(true);
string name = modal.NickName;
string RpName = modal.RPName;