# Getting Started

#### ⚠ No longer maintained ⚠

Hello! Unfortunately **Markov BOT** is no longer officially maintained. This page will remain public to help anyone still using the original code to host their own instance.

If you are a developer and want to host your own instance, you still can use the original [source code](https://github.com/knownasbot/markov-bot) for free.

**I am not hosting any other alternatives and am not responsible for their uses.**

### About

**Markov BOT** is a Discord bot that uses **Markov chains** as an algorithm for text generation. It randomly collects messages from the defined channel and tries to build sentences based on probabilities.

Sometimes these randomly generated texts are nonsense, but they can also be funny and related to the current context.

The bot is free to use and you can add it to your server on the [**Top.gg page**](https://top.gg/bot/903354338565570661). Any questions or problems you can get support on [**our server**](https://discord.gg/YEZmW7Suc3).

### Configuration

After you add the bot to your server, you must set it up to make it work.

*Note: the commands may be translated depending on your language.*

1. Type the command `/config channel` to define the channel that the bot will interact with.
2. Now, type the command `/config enable` to enable its activity in the server.
3. Check if everything is ok with the command `/info`.
4. Fun!

As the chat interacts, the bot will collect the messages based on the defined message collection chance. After 5 collected messages, it starts sending messages.

### Privacy

Privacy is always important for any user. To be clear, the bot **ONLY collects the messages if the service is enabled**.

You can delete all the stored messages using the command `/deletetexts [member]` (where `member` is an optional parameter).

To prevent it from collecting your messages, you can use the command `/tracking`, which toggles whether you allow or not the collection of your messages. By default, it's allowed by the server administrators when the bot is added to the guild.

See [Privacy Policy](https://knwbot.gitbook.io/markov-bot/terms/privacy-policy).

### Developers

* @knownasbot: [Twitter](https://twitter.com/knownasbot); [GitHub](https://github.com/knownasbot).


---

# 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://knwbot.gitbook.io/markov-bot/getting-started.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.
