mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-10 20:39: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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user