-
-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Discord.API | ||
namespace Discord.API; | ||
|
||
internal class Emoji | ||
{ | ||
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; } | ||
[JsonProperty("user")] | ||
public Optional<User> User { get; set; } | ||
} | ||
[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; } | ||
|
||
[JsonProperty("user")] | ||
public Optional<User> User { get; set; } | ||
|
||
[JsonProperty("available")] | ||
public Optional<bool> IsAvailable { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters