---
title: "Rules"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.utilbot.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Rules

## Command

```txt
/rules <enable/disable> [role] [channel]
```

## Description

Sets the Rule Role and the channel for the message, where the User can click the Button.

## Permission

`ADMINISTRATOR`

## Arguments

| Name | Type | Description | Sample Data |
| ---- | ---- | ----------- | ----------- |
| role* | ROLE | The role, that will be added to the User | @User |
| channel* | CHANNEL | The channel, where the Rule Buttons will be placed | #rules |
`*: This is only available on the 'enable' subcommand.`

## Sample Response

### Enable

![Image](https://cdn.utilbot.co/2021-05-28_9a3c0210-16cb-4104-8741-1537183e8305.png)
![Image](https://cdn.utilbot.co/2021-05-28_cc66ef0a-84ef-417c-9590-91564097eca7.png)

### Disable

![Image](https://cdn.utilbot.co/2021-05-28_2b7b5e11-6d7b-40e4-84c4-7d039e80dee7.png)

Source: https://docs.utilbot.co/commands/admins/rules/index.mdx
