# Moderation Module

## Features

The current moderation features are as follows.&#x20;

* Mod-Logs that log all actions done in the server
* Ban and Unban commands
* Kick command
* Mute and Unmute commands
* A purge command
  * Mass clears messages from a channel
* And a warn command
  * Still in the works to add more features to warn

## Setup

Setting up will soon be in the panel but until then it is all done in discord via the `setup` command.\
\
To start setting up just simply do `setup logs` which will bring up the following.

![](https://1171157983-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZrVfu3eTJJLCkd4Cso%2F-LZu3_OIQNuFHBlju9jR%2F-LZu3pc7U3a-i76GWXAY%2Flogs.PNG?alt=media\&token=e3a41336-76c2-48b7-b55a-f0245834c044)

Setting up mod-logs for Garbage is very simple. You only need to do one command which is: `setup logs channel #Channel`&#x20;

## Examples

`ban @User You broke da rules`\
Bans a user with a reason\
`unban <user_id>`\
Unbans a user from their user\_id\
`kick @User Rule breaking is bad`\
Kicks a user from the server with a reason\
`mute @User`\
Mutes a user\
`unmute @User`\
Unmutes a user\
`purge 100`\
Clears the most recent 100 messages from the channel\
`warn @User Bad Stuff you did`\
Warns a user and PMs them the reason

![Help Module for Moderation](https://1171157983-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZrVfu3eTJJLCkd4Cso%2F-LZtKm7z9l7IdTs6QW2m%2F-LZtLC_gNE5-jvR_N1N2%2Fmoderation.PNG?alt=media\&token=3d7c687e-a314-4bcf-b329-0f7e30fb0312)
