mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
15 lines
383 B
C#
15 lines
383 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace NadekoBot.Modules.Utility;
|
|
|
|
public sealed class AiCommandModel
|
|
{
|
|
[JsonPropertyName("name")]
|
|
public required string Name { get; set; }
|
|
|
|
[JsonPropertyName("desc")]
|
|
public required string Desc { get; set; }
|
|
|
|
[JsonPropertyName("params")]
|
|
public required IReadOnlyList<AiCommandParamModel> Params { get; set; }
|
|
} |