mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
16 lines
461 B
C#
16 lines
461 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace NadekoBot.Modules.Utility;
|
|
|
|
public sealed class CommandPromptResultModel
|
|
{
|
|
[JsonPropertyName("name")]
|
|
public required string Name { get; set; }
|
|
|
|
[JsonPropertyName("arguments")]
|
|
public Dictionary<string, string> Arguments { get; set; } = new();
|
|
|
|
[JsonPropertyName("remaining")]
|
|
[JsonConverter(typeof(NumberToStringConverter))]
|
|
public string Remaining { get; set; } = string.Empty;
|
|
} |