# Setting Up

### Inviting the bot

{% hint style="info" %}
Invite the bot here: [guard.pandezlabs.com](https://guard.pandezlabs.com)

**It's free!**
{% endhint %}

{% hint style="warning" %}
You need a role with the `Administrator` or `Manage Server` permissions to invite the bot to your server. If you don't have a role with either of those permissions, please ask the server owner to [give you one](https://support.discord.com/hc/en-us/articles/206029707-Setting-Up-Permissions-FAQ#h_01FFTVYQ38W9TVCTM6YZHZXFFA).&#x20;

Always verify you are inviting the bot from our official links.&#x20;

The bot is `Pandez Guard Beta#6532` and is verified.

These are the only permissions the bot needs (it does not need `Administrator`):

![](https://454796192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvkZXo7FNAoexSLcnn4zr%2Fuploads%2FtVGE1ZM3a36nwCcLY6YX%2Fimage.png?alt=media\&token=d9563fef-debb-43e1-bf3f-636c4b26b9b3)
{% endhint %}

{% hint style="info" %}
Pandez Guard uses custom emotes. If you find any visual issues like this one, please enable the `Use External Emojis` permission for the `@everyone` role in the verify and waiting-room channels.

![](https://454796192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvkZXo7FNAoexSLcnn4zr%2Fuploads%2FsmDTCBSupDRdqymjuH9s%2Fimage.png?alt=media\&token=4545ca6c-549a-495d-a0c9-36f52fd0b4d9)
{% endhint %}

### Automatic setup

Pandez Guard features an automatic setup process when joining a new server, in which it will perform the following actions:

* Create a new verification channel where the verification panel will be posted
* Create a waiting room channel where verified members will reside while the server is locked
* Create a new Verified role&#x20;
* Create a new Waiting Room role

{% hint style="danger" %}
The new Verified and Waiting Room roles will be created with the same permissions as your default @everyone role. Make sure those permissions are set correctly or change them on the new roles created by the bot as you wish.
{% endhint %}

{% hint style="info" %}
All bot commands can be used by anyone with `Administrator` permissions by default.
{% endhint %}

### Changing the verified role

If you would like to use another verified role instead of the one created by the bot, you can use the command `/config verified roles` followed by the verified role(s) you would like to use. You can then delete the default "Verified" role created by the bot when it joined.

![](https://454796192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvkZXo7FNAoexSLcnn4zr%2Fuploads%2F6TI3XvnznS60jbNFC4C3%2Fimage.png?alt=media\&token=6e27d86a-0b07-4980-a349-15f3700a1184)

{% hint style="warning" %}
Make sure Pandez Guard's role is higher than the new verified role or the bot won't be able to assign it!
{% endhint %}

### Changing the server rules

If you would like to change the rules displayed in the verification panel, you can use the command `/config rules`. You can set up to five rules. Input one rule per text box.&#x20;

![](https://454796192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvkZXo7FNAoexSLcnn4zr%2Fuploads%2FX06lUtGTwKAJP7RiO7X2%2Fimage.png?alt=media\&token=954d2c20-413f-489f-b7d0-8c80415da23e)

### Adding admin roles

{% hint style="danger" %}
Admin roles get full unrestricted access to the bot's commands.
{% endhint %}

If you would like to give permission to other roles to use the bot's admin commands, you can use the command `/config admin roles` followed by the role(s) you would like to give bot admin permissions to.&#x20;

![](https://454796192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvkZXo7FNAoexSLcnn4zr%2Fuploads%2FRWxsTVrrT3wE3GB3wqXe%2Fimage.png?alt=media\&token=e9f8c3f6-e53a-4314-a34b-4b356273b056)

You can change this at any time by using the command `/config admin roles reset`.

![](https://454796192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvkZXo7FNAoexSLcnn4zr%2Fuploads%2FCQftv5g2CEByfIjLvLDC%2Fimage.png?alt=media\&token=6bd499bd-5927-445a-ba13-3e5a92aa5337)

### Pruning unverified members

If you would like to automatically prune members who fail to verify after joining the server, you can use the command `/config prune`.

{% hint style="warning" %}
When adding bots to your server, they can't complete the captcha. If you have pruning of unverified members enabled, bots that are not verified by Discord will be kicked. \
To keep an unverified bot in your server, you have to give it the verified role in your server.
{% endhint %}

### Changing the captcha method

There are three captcha methods you can use with Pandez Guard: number captcha w/ numberpad, text captcha and image captcha.&#x20;

You can change between them using the `/config captcha` command, followed by the method you want to use.&#x20;

### Adding and removing verification steps

By default, Pandez Guard adds the "DM Warning" and "Rules Agreement" steps into the verification flow.

You can remove them by using the `/customize` command, then clicking on "Verification Steps", then "Remove". You can then select the step you would like to remove.&#x20;

To add them back you can follow the same steps, but instead of "Remove", click on "Add".&#x20;

🌟 You **customize** and **add your own** verification steps with premium! Learn more [here](https://docs.pandezlabs.com/pandez-guard/premium/customization).&#x20;
