mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-10 12:29:31 +02:00
updated
This commit is contained in:
22
Justice/Modals/NotaryModals.cs
Normal file
22
Justice/Modals/NotaryModals.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Discord;
|
||||
using Discord.Interactions;
|
||||
|
||||
namespace DiscordApp.Justice.Modals
|
||||
{
|
||||
public class INotaryModal : IModal
|
||||
{
|
||||
public string Title => "Сертификация док-ов";
|
||||
[InputLabel("ID паспорта")]
|
||||
[ModalTextInput("passportId", TextInputStyle.Short, placeholder: "96534", maxLength: 10)]
|
||||
public string passportId { get; set; }
|
||||
|
||||
[InputLabel("Тип документа")]
|
||||
[ModalTextInput("documentType", TextInputStyle.Short, placeholder: "Пользовательское соглашение", maxLength: 100)]
|
||||
public string documentType { get; set; }
|
||||
|
||||
[InputLabel("Текст из документа")]
|
||||
[ModalTextInput("textFromDocument", TextInputStyle.Paragraph)]
|
||||
public string documentText { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
14
Justice/Modals/PassportGetterModals.cs
Normal file
14
Justice/Modals/PassportGetterModals.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Discord;
|
||||
using Discord.Interactions;
|
||||
|
||||
namespace DiscordApp.Justice.Modals
|
||||
{
|
||||
public class IPassportGetter : IModal
|
||||
{
|
||||
public string Title => "Поиск паспорта";
|
||||
[InputLabel("Данные паспорта")]
|
||||
[ModalTextInput("passport", TextInputStyle.Short, placeholder: "yawaflua или 97652", maxLength: 100)]
|
||||
public string passport { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user