fix: GuildEmbed.ChannelId as nullable per API documentation (#1532)

This commit is contained in:
Matt Smith
2020-11-07 12:44:33 -06:00
committed by GitHub
parent e40ca4a422
commit 971d519e35

View File

@@ -1,4 +1,4 @@
#pragma warning disable CS1591
#pragma warning disable CS1591
using Newtonsoft.Json;
namespace Discord.API
@@ -8,6 +8,6 @@ namespace Discord.API
[JsonProperty("enabled")]
public bool Enabled { get; set; }
[JsonProperty("channel_id")]
public ulong ChannelId { get; set; }
public ulong? ChannelId { get; set; }
}
}