> For the complete documentation index, see [llms.txt](https://spino.gitbook.io/spino/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spino.gitbook.io/spino/v1.2/moderation-commands.md).

# Moderation Commands

## Setup logging & report channel

Run this command to setup the report channel & logging channels

```
>setup
```

{% hint style="info" %}
Only server owners can run this command.
{% endhint %}

## ID Ban&#x20;

This command will allow you to ban users before they join your server. For example, If you spot someone DM advertising in another server you can right click and get his ID and then ban him from your server to prevent him joining yours to do the same.

```
>hackban ID
```

{% hint style="warning" %}
You need to use a users ID not mention! Eg: >hackban 586209934178385666 you do not mention them, Its an offline ban for users who're not in the server, If you want to mention ban then use >ban
{% endhint %}

{% hint style="info" %}
&#x20;Note, If you do happen to come across someone breaking TOS or being malicious to others then please report them so they can be global banned to help others.
{% endhint %}

## Ban

Ban someone from the server with a reason

```
>ban Mention reason  // Has to have a reason
```

## Unban -  Coming soon v1.2

Unbans the mentioned user.

```
>unban userID reason
```

## Kick

Kicks the mentioned user from the server&#x20;

```
>kick @user reason // if you want a reason
```

## Announcements&#x20;

Send announcements to a channel

```
>announcements reasonhere
```

## Mute users

Mutes the mentioned user with a reason

```
>mute @user reason
```

{% hint style="info" %}
Recommend adding a reason
{% endhint %}

## Server mute

Mute users from every channel in your server which may be more useful than a channel mute if their spamming.

```
>mute server @user reason
```

{% hint style="success" %}
Will mute the mentioned user from every channel until they're unmuted.
{% endhint %}

## Unmute users

Unmute a mentioned user

```
>unmute @user
```

## Purge&#x20;

Purge a certain number of messages in a channel

```
>clear number
```

## Lock channel

Locks the channel to prevent users typing

```
>lockdown
```

## Unlock channel

Unlocks the channel and allows the users to type again.

```
>unlock
```

## Add role&#x20;

Allows staff to add a role to a user

```
>addrole @user type role name
```

## Remove role

Removes a users role

```
>removerole @user type role name
```

##

## Mass role - Coming soon in V1.2

Adds a role to all members

```
>massrole @role
```

{% hint style="warning" %}
This might take a while to complete, Please make sure the role you select is the correct role!
{% endhint %}

##
