Renamed Message model's Mentions -> UserMentions, added RoleMentions
This commit is contained in:
@@ -87,9 +87,9 @@ namespace Discord.WebSocket
|
||||
}
|
||||
|
||||
ImmutableArray<IUser> mentions = ImmutableArray.Create<IUser>();
|
||||
if (model.Mentions.IsSpecified)
|
||||
if (model.UserMentions.IsSpecified)
|
||||
{
|
||||
var value = model.Mentions.Value;
|
||||
var value = model.UserMentions.Value;
|
||||
if (value.Length > 0)
|
||||
{
|
||||
var newMentions = ImmutableArray.CreateBuilder<IUser>(value.Length);
|
||||
|
||||
Reference in New Issue
Block a user