# Configuration Variables (Config Vars)

These are currently all the valid configuration variables you can change with the `config set` command.

| Name                                                | Description                                                                                                                                                                                                                                                                                                                                                        |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| account\_age                                        | Specific time accounts must have before using modmail. (Prevents spam.)                                                                                                                                                                                                                                                                                            |
| activity playing, listening to, watching, streaming | You can set a custom activity for the bot using the activity command. Do \[p]activity for more info. Note: Listening MUST be followed by to, When activity type is set to streaming, you can set the linked twitch page: ?config set twitch\_url <https://www.twitch.tv/somechannel/> and finally, you can clear the activity by using the command ?activity clear |
| anon\_avatar\_url                                   | The icon URL in the anonymous reply embed (defaults to the guild's icon URL).                                                                                                                                                                                                                                                                                      |
| anon\_tag                                           | Sets the tag for author section of an embed for anonreply. (Default is `Response`)                                                                                                                                                                                                                                                                                 |
| anon\_username                                      | The name of the anonymous user for use with the anonreply command (defaults to be the same as mod\_tag configuration).                                                                                                                                                                                                                                             |
| blocked\_emoji                                      | Changes the blocked emoji (defaults to 🚫).                                                                                                                                                                                                                                                                                                                        |
| close\_emoji                                        | Emoji used if user accidentally made a thread. Only if `disable_recipient_thread_close` is not set. (defaults to 🔒)                                                                                                                                                                                                                                               |
| guild\_age                                          | Specific date that member must be in guild before using modmail.                                                                                                                                                                                                                                                                                                   |
| log\_channel\_id                                    | Set the channel where bot logs will be sent.                                                                                                                                                                                                                                                                                                                       |
| main\_category\_id                                  | Set the category where new threads spawn.                                                                                                                                                                                                                                                                                                                          |
| main\_color                                         | The general color of Modmail in hexadecimal format or accepted color name (defaults to blurple - `7289da`).                                                                                                                                                                                                                                                        |
| mention                                             | The message at the start of each thread.                                                                                                                                                                                                                                                                                                                           |
| mod\_color                                          | The color of the mod reply embed in hexadecimal format or accepted color name (defaults to green - `2ecc71`).                                                                                                                                                                                                                                                      |
| mod\_tag                                            | The footer text in the mod reply embed (defaults to your highest role name).                                                                                                                                                                                                                                                                                       |
| mod\_typing                                         | Shows when moderator starts typing in thread channel. (default is off)                                                                                                                                                                                                                                                                                             |
| prefix                                              | The prefix of the bot (defaults to `?`).                                                                                                                                                                                                                                                                                                                           |
| recipient\_color                                    | The color of the recipient's message embed in hexadecimal format or accepted color name (defaults to gold - `f1c40f`).                                                                                                                                                                                                                                             |
| recipient\_thread\_close                            | By default, the recipients can't close their ticket. Use this command to enable it.                                                                                                                                                                                                                                                                                |
| reply\_without\_command                             | Making all non-command messaged to be forwarded to the user without command. `?reply`                                                                                                                                                                                                                                                                              |
| sent\_emoji                                         | Changes the sent emoji (defaults to ✅).                                                                                                                                                                                                                                                                                                                            |
| thread\_auto\_close                                 | Time that has to pass after no reply from a user before the thread auto closes. If not set, thread will not auto close.                                                                                                                                                                                                                                            |
| thread\_auto\_close\_response                       | Custom closing message for when a thread is auto closed. Use the `%t` variable in the message to add human time.                                                                                                                                                                                                                                                   |
| thread\_close\_footer                               | Footer of message that user will receive when thread is closed.                                                                                                                                                                                                                                                                                                    |
| thread\_close\_response                             | Content message user will receive when the thread is closed.                                                                                                                                                                                                                                                                                                       |
| thread\_close\_title                                | Title of the message the user will receive when thread is closed.                                                                                                                                                                                                                                                                                                  |
| thread\_creation\_response                          | Message that shows when user has opened a thread.                                                                                                                                                                                                                                                                                                                  |
| thread\_creation\_title                             | Title of the message the user will receive when the thread is opened.                                                                                                                                                                                                                                                                                              |
| thread\_self\_close\_response                       | Message that the user will receive if the thread was closed by themselves.                                                                                                                                                                                                                                                                                         |
| twitch\_url                                         | The twitch URL when activity\_type is set to 1 (streaming).                                                                                                                                                                                                                                                                                                        |
| user\_typing                                        | Shows when user starts typing to bot. (default is off)                                                                                                                                                                                                                                                                                                             |

Accepted color names can be found here:

{% content-ref url="color-names" %}
[color-names](https://raidensakura.gitbook.io/modmail-preview-docs/old-docs/color-names)
{% endcontent-ref %}

.
