mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
16 lines
458 B
C#
16 lines
458 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 required Dictionary<string, string> Arguments { get; set; }
|
|
|
|
[JsonPropertyName("remaining")]
|
|
[JsonConverter(typeof(NumberToStringConverter))]
|
|
public required string Remaining { get; set; }
|
|
} |