# 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](https://2755572434-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LSZ_JtWujUTHp3HABHr%2F-MdKXNggecpd8ix5E4kq%2F-MdKY8Atv_v7QGmuUM9h%2FScreenshot_2.png?alt=media\&token=1c67efe4-1e27-4d02-aa5b-833c88b5b803)
