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

# Moderation

- [Ban](https://docs.nyaru.xyz/moderation/ban.md): Ban a member from your server.
- [Kick](https://docs.nyaru.xyz/moderation/kick.md)
- [Nuke](https://docs.nyaru.xyz/moderation/nuke.md)
- [Purge](https://docs.nyaru.xyz/moderation/purge.md): Bulk Delete an amount of messages from a channel.
- [Bots](https://docs.nyaru.xyz/moderation/purge/bots.md): Purge messages sent by bots.
- [Humans](https://docs.nyaru.xyz/moderation/purge/humans.md): Purge messages sent by humans.
- [Links](https://docs.nyaru.xyz/moderation/purge/links.md): Purge messages containing any link(s).
- [Attachments](https://docs.nyaru.xyz/moderation/purge/attachments.md): Purge messages containing any attachment(s).
- [Mentions](https://docs.nyaru.xyz/moderation/purge/mentions.md): Purge messages containing user or role mention(s).
- [Embeds](https://docs.nyaru.xyz/moderation/purge/embeds.md): Purge messages containing embed(s).
- [Includes](https://docs.nyaru.xyz/moderation/purge/includes.md): Purge messages including the given text.
- [Not](https://docs.nyaru.xyz/moderation/purge/not.md): Purge messages not including the given text.
- [Startswith](https://docs.nyaru.xyz/moderation/purge/startswith.md): Purge messages starting with given text.
- [Endswith](https://docs.nyaru.xyz/moderation/purge/endswith.md): Purge messages ending with given text.
- [User](https://docs.nyaru.xyz/moderation/purge/user.md): Purge messages sent by a specific user/bot account.
- [🔨 Unban](https://docs.nyaru.xyz/moderation/unban.md)
- [📌 Unpin](https://docs.nyaru.xyz/moderation/unpin.md)
- [Pin](https://docs.nyaru.xyz/moderation/pin.md)


---

# 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://docs.nyaru.xyz/moderation.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.
