> For the complete documentation index, see [llms.txt](https://docs.imber.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imber.dev/imber-bot/setup-guides/security.md).

# Security

{% hint style="danger" %}
Following these steps is not guaranteed to prevent your bot from being disabled. However, following these steps and the [Discord TOS](https://discord.com/terms) can minimize the risks.
{% endhint %}

> **Follow the Discord TOS!**
>
> * It's crucial to follow the [Discord's Terms of Service](https://discord.com/terms) (TOS). Avoid spamming users with direct messages or overusing other bot features, as these actions can trigger rate limits on your bot's functionality. Stay within the guidelines to ensure your bot operates seamlessly on Discord.

> **Keep your bot token secure!**
>
> * Always treat your bot token like a confidential password. Never share it with anyone. Avoid storing copies of your bot token in Discord channels or direct messages. Remember, you can generate a new token if necessary to enhance security.

> **Use an ALT account!**
>
> * To keep things safe, make a new Discord account (Preferably on a VPN) with few or no servers. This lowers the chances of your bot getting disabled / compromised. Create your bot on this new account, then add your main account and trusted staff as bot team members for better management.

> **Add the bot to an application team!**
>
> * By adding your bot to an application team, you can lower your chance of loosing access to your bot. Add your main account and trusted staff as bot team members for better management. (This does require Discord 2FA) [Teams](/imber-bot/setup-guides/teams.md)

> **Use an appropriate bot name!**
>
> * Select a name that suits your bot's purpose and follows Discord's rules. Discord's Terms of Service (TOS) prohibit impersonating other bots, so picking an appropriate name is essential to minimize account risks.


---

# 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:

```
GET https://docs.imber.dev/imber-bot/setup-guides/security.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.
