PluralKit/Myriad/Rest/DiscordApiError.cs

8 lines
154 B
C#
Raw Normal View History

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