# Setup Logging

Sx Bot offers a wide variety of unique moderation logging for your server including message logs, reaction logs, image logs, invite logs, booster logs, user join/leave logs, and more!

## Set up your log channel

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

&#x20;**2.** Set the channel for the given logging module.\
**Example:`/logging message-logs set #message-logs`**\
**Example:`/logging images-logs set #images-logs`**\
**Example:`/logging reaction-logs set #reactions-logs`**

{% hint style="info" %}
If you type **`/logging help`** you can see a list of all the current supported logging modules.
{% endhint %}

**3.** Edit your 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

You can also use the built-in help guide the bot offers by using **`/logging help`** as seen below.

<figure><img src="https://3235107011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPR38BTXhzW04xdbh6h1o%2Fuploads%2FtuXHfv2c68zg69vxuU4I%2FDiscord_hY6kr1mbbv.png?alt=media&#x26;token=3f9b9d5f-4d33-4d66-8f72-4af63e24620b" alt=""><figcaption><p>/logging help</p></figcaption></figure>
