# Event Log

In order to keep a check on the various messages your bot is reviewing and the decisions it is making, we have a feature called the "Event Log", which when enabled will output analysis from your bot to a dedicated group of your choosing.\
\
We recommend setting up your Event log against a private group you and your other fellow moderation team work in. An example of the types of messages it can output are shown below, it's a great way for fine tuning your rules or working out why certain decisions have been made.

<figure><img src="/files/9KUozpdKqedHsDsckYmO" alt=""><figcaption><p>Use your chat modr8.ai event log to keep track of decisions being made by the AI</p></figcaption></figure>

### Setting Up Your Chat Event Log

To get started you will first want to set up your own event log group. This group is  where the bot will send its logs, which is typically best being a private group that just you or your team of community managers can sit in and watch how your bot is behaving.\
\
Often the event log is a great way to identify areas for improvement in your rules and to see how efficient it is running. To add your bot and get logs working follow these steps:

{% hint style="warning" %}
Ensure you create a private group for your event log messages to be sent to before trying to connect up.
{% endhint %}

<figure><img src="/files/qRFHEjBk4953GTvPQHic" alt=""><figcaption><p>Connect your event log by creating a chat and then clicking the above button!</p></figcaption></figure>

1. Login to the Modr8 AI platform
2. Click `"Manage"` on the bot profile card
3. Scroll down to your chat you wish to log and select `"Event Log"`
4. Next click the "Connect Event log" button and you will be asked to add your bot to the chat
5. Select your logging chat
6. The bot will join the chat and event log enabled message will be sent.
7. Back on the website you will see options to view logs for "Deleted" or "Kept" messages. Select which ones you prefer to log in your group.

<figure><img src="/files/w92ZxVWHf5M0Hbj4wDEN" alt=""><figcaption><p>Select which messages you wish to go to your event log chat</p></figcaption></figure>

To start out we recommend turning on both Deleted & Kept messages as it lets you view the reasons for messages being kept or deleted. This will help you to improve your rules over time.

### Removing Your Event Log

There can be times where you might want to remove or shift your event log to another chat. To do so you can disconnect the log from the modr8.ai website.

<figure><img src="/files/vMcfAVw4WeQK7DMF4pd7" alt=""><figcaption><p>Disconnect your event log from the modr8.ai website</p></figcaption></figure>

1. Login to the Modr8 AI platform
2. Click `"Manage"` on the bot profile card
3. Scroll down to your chat you wish to log and select `"Event Log"`
4. Next click the `"Disconnect Event log"` button and your bot will leave the chat and the log will disconnect.

### Kick & Ban Users Using Moderation Event Buttons

Whilst Modr8.ai focuses on deleting messages in the first instance, you are still able to moderate quickly by turning on the Moderation Buttons feature against each event log message sent. This will allow you to kick or ban users quickly after reviewing their message content and the AI decision made.

<div><figure><img src="/files/cp8rd3G5deu1ItxsCGTM" alt=""><figcaption></figcaption></figure> <figure><img src="/files/6hAEQ6XBxzqBHZtiBqwb" alt=""><figcaption></figcaption></figure></div>

1. Login to the Modr8 AI Platform
2. Click `"Manage"` on the bot profile card
3. Scroll down to your chat you with to turn on moderation buttons for and select `"Event Log"`
4. Assuming you have activated your log already, scroll down to the `Moderation Buttons section` and toggle the switch on.
5. Your event log messages will now show and Kick User & Ban User button below each message.


---

# 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.modr8.ai/features/event-log.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.
