mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-09 20:09:31 +02:00
y cordinate change to z, for better using add type into data-spworlds, for next updates remove user after payment, for fix, when user can give 2 and more requests change "@ #here" to ping yawaflua: delete dev-utilities ping yawaflua into thread chanel
28 lines
1.0 KiB
C#
28 lines
1.0 KiB
C#
using Discord;
|
||
using Discord.Interactions;
|
||
|
||
namespace DiscordApp.Justice.Modals
|
||
{
|
||
public class ICitiesModal : IModal
|
||
{
|
||
public string Title => "Регистрация базы";
|
||
|
||
[InputLabel("Название на карте")]
|
||
[ModalTextInput("Name", TextInputStyle.Short, placeholder: "Сигмасити", maxLength: 100)]
|
||
public string Name { get; set; }
|
||
|
||
[InputLabel("Описание на карте")]
|
||
[ModalTextInput("BaseDescription", TextInputStyle.Paragraph, placeholder: "Меня зовут Кира Йошикаге...")]
|
||
public string description { get; set; }
|
||
|
||
[InputLabel("Х координата")]
|
||
[ModalTextInput("xCoordinate", TextInputStyle.Short, placeholder: "70", maxLength: 10)]
|
||
public int xCoordinate { get; set; }
|
||
|
||
[InputLabel("Z координата")]
|
||
[ModalTextInput("yCoordinate", TextInputStyle.Short, placeholder: "90", maxLength: 10)]
|
||
public int zCoordinate { get; set; }
|
||
|
||
}
|
||
}
|