Browse Source

Update the Emoji API model to add User? attribute

pull/1214/head
Chris Johnston 6 years ago
parent
commit
e0eb94d44c
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/Discord.Net.Rest/API/Common/Emoji.cs

+ 3
- 1
src/Discord.Net.Rest/API/Common/Emoji.cs View File

@@ -1,4 +1,4 @@
#pragma warning disable CS1591
#pragma warning disable CS1591
using Newtonsoft.Json;

namespace Discord.API
@@ -17,5 +17,7 @@ namespace Discord.API
public bool RequireColons { get; set; }
[JsonProperty("managed")]
public bool Managed { get; set; }
[JsonProperty("user")]
public Optional<User> User { get; set; }
}
}

Loading…
Cancel
Save