Move some pieces of documentation to where they make the most sense

This commit is contained in:
bitfl0wer 2023-06-03 22:34:03 +02:00
parent 9918b9a71d
commit 5dd9d095cf
1 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,7 @@ impl types::Reaction {
This endpoint requires the READ_MESSAGE_HISTORY permission 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 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 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 # Arguments
* `emoji` - A string slice containing the emoji to delete. The `emoji` must be URL Encoded or * `emoji` - A string slice containing the emoji to delete. The `emoji` must be URL Encoded or
@ -150,6 +150,7 @@ impl types::Reaction {
# Returns # Returns
A `Result` containing a [`reqwest::Response`] or a [`crate::errors::InstanceServerError`]. A `Result` containing a [`reqwest::Response`] or a [`crate::errors::InstanceServerError`].
Returns a 204 empty response on success.
# Reference # Reference
See [https://discord.com/developers/docs/resources/channel#create-reaction](https://discord.com/developers/docs/resources/channel#create-reaction) See [https://discord.com/developers/docs/resources/channel#create-reaction](https://discord.com/developers/docs/resources/channel#create-reaction)