From 5dd9d095cf2a9d79f6416c6892dad706b792ada6 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Sat, 3 Jun 2023 22:34:03 +0200 Subject: [PATCH] Move some pieces of documentation to where they make the most sense --- src/api/channels/reactions.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/channels/reactions.rs b/src/api/channels/reactions.rs index 04c80f7..0fc265b 100644 --- a/src/api/channels/reactions.rs +++ b/src/api/channels/reactions.rs @@ -140,7 +140,7 @@ impl types::Reaction { This endpoint requires the READ_MESSAGE_HISTORY permission to be present on the current user. Additionally, if nobody else has reacted to the message using this emoji, this endpoint requires the ADD_REACTIONS permission to be present on the current - user. Returns a 204 empty response on success. Fires a Message Reaction Add Gateway event. + user. Fires a Message Reaction Add Gateway event. # Arguments * `emoji` - A string slice containing the emoji to delete. The `emoji` must be URL Encoded or @@ -150,6 +150,7 @@ impl types::Reaction { # Returns A `Result` containing a [`reqwest::Response`] or a [`crate::errors::InstanceServerError`]. + Returns a 204 empty response on success. # Reference See [https://discord.com/developers/docs/resources/channel#create-reaction](https://discord.com/developers/docs/resources/channel#create-reaction)