Skip to content

Commit

Permalink
fix: GuildEmbed.ChannelId as nullable per API documentation (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattTheDev authored Nov 7, 2020
1 parent e40ca4a commit 971d519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Discord.Net.Rest/API/Common/GuildEmbed.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma warning disable CS1591
#pragma warning disable CS1591
using Newtonsoft.Json;

namespace Discord.API
Expand All @@ -8,6 +8,6 @@ internal class GuildEmbed
[JsonProperty("enabled")]
public bool Enabled { get; set; }
[JsonProperty("channel_id")]
public ulong ChannelId { get; set; }
public ulong? ChannelId { get; set; }
}
}

0 comments on commit 971d519

Please sign in to comment.