feature: Support FailIfNotExists on MessageReference (#2283)

Fixes #2282
This commit is contained in:
moiph
2022-05-09 18:55:17 -07:00
committed by GitHub
parent 5546c705ca
commit 0ec8938a67
5 changed files with 21 additions and 4 deletions

View File

@@ -182,7 +182,8 @@ namespace Discord.WebSocket
{
GuildId = model.Reference.Value.GuildId,
InternalChannelId = model.Reference.Value.ChannelId,
MessageId = model.Reference.Value.MessageId
MessageId = model.Reference.Value.MessageId,
FailIfNotExists = model.Reference.Value.FailIfNotExists
};
}