# 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 %}

##


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://spino.gitbook.io/spino/v1.2/moderation-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
