PluralKit/Myriad/Rest/DiscordApiError.cs

8 lines
154 B
C#
Raw Permalink Normal View History

2021-08-27 15:03:47 +00:00
using System.Text.Json;
2020-12-22 12:15:26 +00:00
namespace Myriad.Rest;
public record DiscordApiError(string Message, int Code)
2020-12-22 12:15:26 +00:00
{
public JsonElement? Errors { get; init; }
2020-12-22 12:15:26 +00:00
}