[ifcbrk] feature: id overload for RemoveReactionAsync (#1310)
* Added id overload for RemoveReactionAsync * Fixed the docs strings
This commit is contained in:
committed by
Christopher F
parent
faf23dee35
commit
c88b1dada7
@@ -96,6 +96,23 @@ namespace Discord
|
||||
/// <seealso cref="IEmote"/>
|
||||
Task RemoveReactionAsync(IEmote emote, IUser user, RequestOptions options = null);
|
||||
/// <summary>
|
||||
/// Removes a reaction from message.
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// The following example removes the reaction, <c>💕</c>, added by the user with ID 84291986575613952 from the message.
|
||||
/// <code language="cs">
|
||||
/// await msg.RemoveReactionAsync(new Emoji("\U0001f495"), 84291986575613952);
|
||||
/// </code>
|
||||
/// </example>
|
||||
/// <param name="emote">The emoji used to react to this message.</param>
|
||||
/// <param name="userId">The ID of the user that added the emoji.</param>
|
||||
/// <param name="options">The options to be used when sending the request.</param>
|
||||
/// <returns>
|
||||
/// A task that represents the asynchronous operation for removing a reaction to this message.
|
||||
/// </returns>
|
||||
/// <seealso cref="IEmote"/>
|
||||
Task RemoveReactionAsync(IEmote emote, ulong userId, RequestOptions options = null);
|
||||
/// <summary>
|
||||
/// Removes all reactions from this message.
|
||||
/// </summary>
|
||||
/// <param name="options">The options to be used when sending the request.</param>
|
||||
|
||||
Reference in New Issue
Block a user