Browse Source

Fix assignment of UserMentions (#233)

pull/1923/head
Emily GitHub 3 years ago
parent
commit
fda95c7b70
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/Discord.Net.WebSocket/Entities/Messages/SocketMessage.cs

+ 1
- 2
src/Discord.Net.WebSocket/Entities/Messages/SocketMessage.cs View File

@@ -118,8 +118,7 @@ namespace Discord.WebSocket
/// <returns> /// <returns>
/// Collection of WebSocket-based users. /// Collection of WebSocket-based users.
/// </returns> /// </returns>
public IReadOnlyCollection<SocketUser> MentionedUsers => ImmutableArray.Create<SocketUser>();

public IReadOnlyCollection<SocketUser> MentionedUsers => _userMentions;
/// <inheritdoc /> /// <inheritdoc />
public DateTimeOffset Timestamp => DateTimeUtils.FromTicks(_timestampTicks); public DateTimeOffset Timestamp => DateTimeUtils.FromTicks(_timestampTicks);




Loading…
Cancel
Save