> For the complete documentation index, see [llms.txt](https://docs.ggwp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ggwp.com/ggwp-discord-bot/commands.md).

# Commands

*Note: Access to the commands below can be controlled using settings directly available in the Discord's client*

## **Member Commands**

The following commands are available to all who are part of the Discord Community running GGWP Discord Bot.&#x20;

#### 1. `/help`&#x20;

Displays all commands available to the user.

<figure><img src="/files/8T3N2doCx3P0QxvozyYq" alt=""><figcaption></figcaption></figure>

#### 2. `/score`

Displays the user’s current reputation score.

<figure><img src="/files/4chl9OJrJwDDVZYydMFm" alt=""><figcaption></figcaption></figure>

#### 3. `/commend @member`&#x20;

A positive reaction towards a certain member of the server. This command will commend the corresponding user and increase their reputation. The current default limit is receiving 5 commends from any users per month. A user can file a maximum one commend per day. This command can also be automatically executed when reacting to a message with a :thumbsup: emoji.

<figure><img src="/files/PT6IDGI88MAY5zLjL3Of" alt=""><figcaption></figcaption></figure>

#### 4. `/report @member`&#x20;

A negative reaction towards a certain member of the server. This command will report the corresponding user and decrease their reputation. The current default limit is receiving 5 reports from any users per month. A user can file a maximum of one report per day.

<figure><img src="/files/uba98E9u9ZeYVnIwRxIS" alt=""><figcaption></figcaption></figure>

## **Admin Commands**

#### 1. `/leaderboard`  \[ `Top` or `Bottom` ]&#x20;

Shows the current top or bottom 20 leaders of the Discord server by reputation score. You can choose to view the top or bottom 20 leaders by specifying Top or Bottom as an argument. It generates the following output

```
"user", "roles", "reputation score"
```

* **user** - The Discord user
* **roles** - The Discord user’s roles
* **reputation score** - The Discord user’s reputation score based on chat behavior as well as commends / reports received

The leaderboard values from the command /export-leaderboard will generate the following output in CSV format and send it as an attachment via DM:

```
"member_id", "user", "date joined", "role", "reputation scor
e", "%negative messages", "%positive messages", "activity_rat
ing", "#commends", "#reported"
```

* **member\_id** - The user’s full Discord ID
* **user** - The user’s full Discord username
* **date joined** - The date that the Discord user has joined the server
* **role** - The role(s) associated with that user in the Discord server
* **reputation score** - The Discord user’s reputation score based on chat behavior as well as commends / reports received
* **%negative messages** - Percentage of negative messages detected by the system from the total number of messages that the user has sent
* **%positive messages** - Percentage of positive messages detected by the system from the total number of messages that the user has sent
* **activity\_rating** - How active this individual user is on the Discord server; Range \[0, 100]
* **#commends** - Total number of commends given to the user&#x20;
* **#reported** - Total number of reports filed against the user

#### 2. `/export-leaderboard`  \[ `Top` or `Bottom` ]&#x20;

Exports the current top or bottom 100 leaders of the Discord server as well as additional metadata information about these members in a CSV file that is downloadable by the requester. You can choose to export the top or bottom members by specifying `Top` or `Bottom` as an argument.

#### 3. `/bottommembers`&#x20;

Shows the list of bottom members in the guild based on either the reputation score or the incident type during the past `duration` (number of days). The response contains the username, reputation score (in case of score `criteria`) or incident count for the requested incident (in case of incident-type `criteria`) and the most recently flagged 5 messages. Useful for answering moderator questions such as “who are the members with the most verbal abuse incidents over the past 10 days”?&#x20;

Input arguments are below:

* **duration** - Number of past days to consider. Default is 7; Range is \[1-30]
* **criteria** - The criteria of selecting the bottom members. Default criteria is overall reputation score. This can be replaced with an existing incident type count (the available incident types are shown in a selectable list while using the command)
* **number** - Number of members returned. Default is 10; Range is \[1, 1000]

<figure><img src="/files/G6wivDIhPAUUbXv4QxCe" alt=""><figcaption></figcaption></figure>

#### 4. `/review`&#x20;

Shows the recent list of flagged messages for a given discord member.&#x20;

Input arguments are below:

* **member** - The members whose messages needs reviewing
* **number** - Number of recent messages to show. Default is 5; Max is 100

<figure><img src="/files/7WdSAnspkvGUPvaZEhNR" alt=""><figcaption></figcaption></figure>

#### 5. `/mute`

Mutes a Discord member on the server. Note that muting via this command requires enabling the `Time out member` permission for the moderator’s role. Muting or unmuting moderator roles is also possible if the bot role is placed higher in the server’s role hierarchy.&#x20;

Input arguments are below:

* **member** - Member to mute&#x20;
* **days** - Number of days of mute to be applied. Range \[0, 28]
* **hours** - Number of hours of mute to be applied. Range \[0, 23]
* **minutes** - Number of minutes of mute to be applied. Range \[0, 59]

#### 6. `/unmute`&#x20;

Unmutes a muted Discord member.&#x20;

Input argument is below:

* **member** - Member to unmute
