> For the complete documentation index, see [llms.txt](https://docs.clashperk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clashperk.com/readme.md).

# ClashPerk Bot Guide for Clash of Clans

Set up ClashPerk, the Clash of Clans bot for Discord. Track clans and wars, run CWL rosters, auto roles, logs and reminders, with a guide for every command.

ClashPerk is a Clash of Clans bot for Discord, used in more than 40,000 servers since 2019. It tracks your clans and players through Supercell's official API and posts war and CWL logs, legend days, reminders, rosters, auto roles and clan stats inside your server.

New here? Start with [Getting set up](https://docs.clashperk.com/overview/getting-set-up.md), then [link your account](https://docs.clashperk.com/overview/link-account.md). Every command is listed under [Commands](https://docs.clashperk.com/others/commands.md).

## ClashPerk on the web

|                                                       |                                                                                                       |
| ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| [**Website**](https://clashperk.com)                  | Add ClashPerk to your server and see what it can do.                                                  |
| [**Dashboard**](https://app.clashperk.com)            | Sign in with Discord to manage your clans, rosters, logs, and tickets from the browser.               |
| [**Clash of Clans Wiki**](https://wiki.clashperk.com) | Every troop, spell, hero, and building in the game, level by level — stats, costs, and upgrade times. |
| [**Support Discord**](https://discord.gg/ppuppun)     | Ask questions, report bugs, and get help from the team.                                               |
| [**Status Page**](https://status.clashperk.com)       | Live status of the bot and its services.                                                              |

## Quick Links

{% content-ref url="/pages/i5Qi4JHHOyOmd2asnVhI" %}
[How to Set Up ClashPerk on Discord](https://docs.clashperk.com/overview/getting-set-up.md)
{% endcontent-ref %}

{% content-ref url="/pages/vHgZ8v0R8GzxJC8Hv3V5" %}
[Link and Verify Clash of Clans Accounts](https://docs.clashperk.com/overview/link-account.md)
{% endcontent-ref %}

{% content-ref url="/pages/ZF8XE0SXwfdUpwdgGAOU" %}
[Custom Bot Name and Avatar](https://docs.clashperk.com/features/bot-personalizer.md)
{% endcontent-ref %}

{% content-ref url="/pages/lBntq1Y6kMzCQCGpi5n4" %}
[CWL and War Rosters](https://docs.clashperk.com/features/rosters.md)
{% endcontent-ref %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.clashperk.com/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
