From 5d39ed403eebc5b5a43a3ea2e98c8a48345d3f08 Mon Sep 17 00:00:00 2001 From: Still Hsu <341464@gmail.com> Date: Fri, 8 Feb 2019 06:41:54 +0800 Subject: [PATCH] Add remarks for SocketReaction properties --- .../Entities/Messages/SocketReaction.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/Discord.Net.WebSocket/Entities/Messages/SocketReaction.cs b/src/Discord.Net.WebSocket/Entities/Messages/SocketReaction.cs index 9c3a5f32b..32cac7d8b 100644 --- a/src/Discord.Net.WebSocket/Entities/Messages/SocketReaction.cs +++ b/src/Discord.Net.WebSocket/Entities/Messages/SocketReaction.cs @@ -10,6 +10,11 @@ namespace Discord.WebSocket /// /// Gets the ID of the user who added the reaction. /// + /// + /// This property retrieves the snowflake identifier of the user responsible for this reaction. This + /// property will always contain the user identifier in event that + /// cannot be retrieved. + /// /// /// A user snowflake identifier associated with the user. /// @@ -17,6 +22,18 @@ namespace Discord.WebSocket /// /// Gets the user who added the reaction if possible. /// + /// + /// + /// This property attempts to retrieve a WebSocket-cached user that is responsible for this reaction from + /// the client. In other words, when the user is not in the WebSocket cache, this property may not + /// contain a value, leaving the only identifiable information to be + /// . + /// + /// + /// If you wish to obtain an identifiable user object, consider utilizing + /// which will attempt to retrieve the user from REST. + /// + /// /// /// A user object where possible; a value is not always returned. ///