# Moderation Commands /// admonition | These commands are slash commands. type: warning Please make sure to enable them with [`[p]slash enable `](https://docs.discord.red/en/stable/cog_guides/core.html#slash-enable), then sync them with [`[p]slash sync`](https://docs.discord.red/en/stable/cog_guides/core.html#slash-sync). /// ## note - Usage: `/note [silent]` - `target:` (Required) Who are you noting? - `reason:` (Required) Why are you noting this user? - `silent:` (Optional) Should the user be messaged? Add a note to a user. ## warn - Usage: `/warn [silent]` - `target:` (Required) Who are you warning? - `reason:` (Required) Why are you warning this user? - `silent:` (Optional) Should the user be messaged? Warn a user. ## addrole - Usage: `/addrole [duration] [silent]` - `target:` (Required) Who are you adding a role to? - `role:` (Required) What role are you adding to the target? - `reason:` (Required) Why are you adding a role to this user? - `duration:` (Optional) How long are you adding this role for? - `silent:` (Optional) Should the user be messaged? Add a role to a user. ## removerole - Usage: `/removerole [duration] [silent]` - `target:` (Required) Who are you removing a role from? - `role:` (Required) What role are you removing from the target? - `reason:` (Required) Why are you removing a role from this user? - `duration:` (Optional) How long are you removing this role for? - `silent:` (Optional) Should the user be messaged? Remove a role from a user. ## mute - Usage: `/mute [silent]` - `target:` (Required) Who are you unbanning? - `duration:` (Required) How long are you muting this user for? - `reason:` (Required) Why are you unbanning this user? - `silent:` (Optional) Should the user be messaged? Mute a user. ## unmute - Usage: `/unmute [reason] [silent]` - `target:` (Required) Who are you unmuting? - `reason:` (Optional) Why are you unmuting this user? - `silent:` (Optional) Should the user be messaged? Unmute a user. ## kick - Usage: `/kick [silent]` - `target:` (Required) Who are you kicking? - `reason:` (Required) Why are you kicking this user? - `silent:` (Optional) Should the user be messaged? Kick a user. ## ban - Usage: `/ban [duration] [delete_messages] [silent]` - `target:` (Required) Who are you banning? - `reason:` (Required) Why are you banning this user? - `duration:` (Optional) How long are you banning this user for? - `delete_messages:` (Optional) How many days of messages to delete? - `silent:` (Optional) Should the user be messaged? Ban a user. ## unban - Usage: `/unban [reason] [silent]` - `target:` (Required) Who are you unbanning? - `reason:` (Optional) Why are you unbanning this user? - `silent:` (Optional) Should the user be messaged? Unban a user.