# Discord

## Moderation commands

| Commands                                                                                                                                       | Explanation                                                                                                                                                        |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Player Management**                                                                                                                          |                                                                                                                                                                    |
| `?kick` \<user> \<reason>                                                                                                                      |                                                                                                                                                                    |
| `?ban` \<user> \<time or 0> \<reason>                                                                                                          | 0 = Permanent                                                                                                                                                      |
| `?tempban` \<user> \<time> \<reason>                                                                                                           |                                                                                                                                                                    |
| `?softban` \<user> \<time> \<reason>                                                                                                           |                                                                                                                                                                    |
|                                                                                                                                                |                                                                                                                                                                    |
| `?mute` \<user> \<time> \<reason>                                                                                                              |                                                                                                                                                                    |
| `?hardmute` \<user> \<time> \<reason>                                                                                                          |                                                                                                                                                                    |
|                                                                                                                                                |                                                                                                                                                                    |
| `pls roleban` \<user>                                                                                                                          | <p><em>Takes away all of a user’s roles and adds a “rolebanned” role.</em><br><em>The player with this role will only see #jail</em></p>                           |
|                                                                                                                                                |                                                                                                                                                                    |
| `?warn` \<user> \<reason>                                                                                                                      | *Warns a player*                                                                                                                                                   |
| `?warns` \<user>                                                                                                                               | *Shows a list of warns the player has*                                                                                                                             |
| ——————————————————————                                                                                                                         | ——————————————————————————————————                                                                                                                                 |
| **Channel Management**                                                                                                                         |                                                                                                                                                                    |
| <p><code>?purge</code> </p><ol><li>user \<user> \<limit></li><li>contains </li><li>embeds</li><li>links</li><li>emoji</li><li>images</li></ol> | <p> Deletes messages</p><p><code>eg: ?purge user @Leeroy#7153 10</code> </p><p>to delete Leeroy messages in 10 lines</p>                                           |
|                                                                                                                                                |                                                                                                                                                                    |
| `pls snipe`                                                                                                                                    | <p><em>Recovers the most recently deleted (or edited)</em> </p><p><em>message in a channel</em></p>                                                                |
| `pls slowmode` \<seconds>                                                                                                                      | *Apply slowmode on a channel*                                                                                                                                      |
| `pls lockout` \<user>                                                                                                                          | *Prevents the user from being able to type in the channel*                                                                                                         |
|                                                                                                                                                |                                                                                                                                                                    |
| `pls lockdown`                                                                                                                                 | *Close off a channel*                                                                                                                                              |
| `?lockdown server`                                                                                                                             | *Close off every channel*                                                                                                                                          |
| ——————————————————————                                                                                                                         | ——————————————————————————————————                                                                                                                                 |
| **Role Management**                                                                                                                            |                                                                                                                                                                    |
| `?role` \<member> \<role>                                                                                                                      | *Adds/removes a role from the specified member*                                                                                                                    |
| `?temprole` \<member> \<time> \<role>                                                                                                          | <p><em>Adds a role for some time</em> </p><p><em>removes it after the time is up</em></p>                                                                          |
| `pls pingable` \<role>                                                                                                                         | *Makes a role pingable only once*                                                                                                                                  |
| ——————————————————————                                                                                                                         | ——————————————————————————————————                                                                                                                                 |
| **Revoke Actions**                                                                                                                             |                                                                                                                                                                    |
| `?unban` \<user> \<reason>                                                                                                                     |                                                                                                                                                                    |
| `?unmute` \<user>                                                                                                                              |                                                                                                                                                                    |
| `pls urb` \<user>                                                                                                                              | <p><em>Reverts the effects of pls roleban by</em> </p><p><em>removing the rolebanned role</em> </p><p><em>and returning the roles before being rolebanned</em></p> |

![Pro tip: Enable this option in your User Settings to fetch a person's Discord ID](/files/-MdKY8Atv_v7QGmuUM9h)


---

# Agent Instructions: 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:

```
GET https://mods.titan.tf/socials/discord.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
