> For the complete documentation index, see [llms.txt](https://bwbdiscord.gitbook.io/banned-word-tracker/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bwbdiscord.gitbook.io/banned-word-tracker/interacting-with-the-bot/how-the-bot-works.md).

# Setting Up the Bot

## Inviting to The Server

Discord makes this step pretty easy. To get the bot added to a server, use [this link](https://discordapp.com/oauth2/authorize?client_id=355144450437021697\&scope=bot\&permissions=3072) and select the appropriate server. This link will give the bot the minimal permissions it needs.

## Initial Bot Configuration

After adding the bot to the server, some configuration should be done. The default banned word is 'defaultbannedword', so that should be changed. This is done using the [vtswapban ](/banned-word-tracker/interacting-with-the-bot/commands.md#vtswapban-less-than-target_index-greater-than-less-than-word_to_ban-greater-than)command, and this example will ban the classic banned word: "vore"

```
>>> !vtswapban 1 vore
```

By default the bot will wait half an hour between calling out users for referencing a given banned word. If desired, that can be changed using the [vtdelay ](/banned-word-tracker/interacting-with-the-bot/commands.md#vtdelay-hours-minutes-less-than-seconds-greater-than)command. This example effectively removes the delay.

```
>>> !vtdelay 0
```

By default, the bot uses the prefix `!vt`. If desired, that can be changed using the [vtprefix](/banned-word-tracker/interacting-with-the-bot/commands.md#vtprefix-new_prefix) command. This example sets the prefix to `$test` instead.

```
>>> !vtprefix $test
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://bwbdiscord.gitbook.io/banned-word-tracker/interacting-with-the-bot/how-the-bot-works.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
