* Added support for animated emoji This was such a useful feature Discord, I'm glad you added this instead of fixing bugs. * Fix bugs in emote parser * Added unit tests for emotes
22 lines
580 B
C#
22 lines
580 B
C#
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Discord.API
|
|
{
|
|
internal class Emoji
|
|
{
|
|
[JsonProperty("id")]
|
|
public ulong? Id { get; set; }
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
[JsonProperty("animated")]
|
|
public bool? Animated { get; set; }
|
|
[JsonProperty("roles")]
|
|
public ulong[] Roles { get; set; }
|
|
[JsonProperty("require_colons")]
|
|
public bool RequireColons { get; set; }
|
|
[JsonProperty("managed")]
|
|
public bool Managed { get; set; }
|
|
}
|
|
}
|