# Reaction Logs

This feature logs reaction history on messages in your Discord server

## Set up your log channel

**1.** Create a channel for the reaction logs if you haven't already.

**2.** Set the channel for log the reactions to.\
**Example:`/logging reaction-logs set #reaction-logs`**

**3.** Edit your discord channel's settings, and go to the "Permissions" tab.

**4.** From the "Roles/Members" selection, add Sx Bot.&#x20;

**5.** Allow Sx Bot to have the following permissions in the channel:

* View Channel
* Send Messages
* Embed Links
* Attach Files
* Use External Emoji

![](https://3235107011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPR38BTXhzW04xdbh6h1o%2Fuploads%2FDAJozO9Ac0GnPVJwNXci%2Fimage.png?alt=media\&token=4ebfd30f-b8d0-4d63-a8fb-8495f34738ee)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sxbot.io/moderation-logging/reaction-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
