initial commit (#2666)

This commit is contained in:
Misha133
2023-04-15 04:36:07 +03:00
committed by GitHub
parent dff6a57a92
commit d5ba7d25aa
3 changed files with 24 additions and 6 deletions

View File

@@ -116,8 +116,8 @@ namespace Discord.WebSocket
internal virtual void Update(Model model)
{
ChannelId = model.ChannelId.IsSpecified
? model.ChannelId.Value
ChannelId = model.Channel.IsSpecified
? model.Channel.Value.Id
: null;
GuildId = model.GuildId.IsSpecified