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

# Admin Commands

### Lock Channels - /lock

You can permanently/temporary lock a channel. Best part here is Raiden only allows Administrators to speak in a locked channel, don't worry about the channel permission, it gets restored when you unlock the channel or when specified time ends.

Required Permissions: Manage Channels and Manage Roles

{% hint style="danger" %}
Discord has a weird way of managing an overwrite permission. i.e., "Manage Permission". If bot is unable to lock a channel, then probably you are required to look into the channel overwrite permissions.
{% endhint %}

#### Permanent Lock - /lock permanent

To lock the channel permanently, simply execute `/lock permanent`. This command will permanently lock the channel. Hence, no one (expect Administrators) will be allowed to talk in the channel.

Raiden removes permissions from all roles inside Advanced channel permissions. Do not worry about the permissions, whenever you unlock the channel in future, bot will restore the permissions for you.

#### Temporary Lock - /lock temporary

To Lock the channel temporary, simply execute `/lock temporary`. This command will temporarily lock the channel. Hence, no one (expect Administrators) will be allowed to talk in the channel for the specified duration.

Raiden removes permissions from all roles inside Advanced channel permissions. Do not worry about the permissions, whenever you or the bot itself unlock the channel in future, bot will restore the permissions for you.

#### Unlocking a Channel

This command will also restore all the permissions which were present before the channel was locked. You cannot unlock a channel with Raiden which has been locked by other bots.

To unlock the channel, simply execute `/unlock`&#x20;


---

# 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.raidenbot.xyz/setup/admin-commands.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.
