# 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`):

![](/files/DTkGjPZxTgBOtDEKHXV8)
{% 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.

![](/files/eCrhZlbpTuwQ7edSeZVz)
{% 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.

![](/files/wscInwqJTOT9Lh6HO9TZ)

{% 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;

![](/files/ulGMXDytfrR39qwztMSC)

### 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;

![](/files/CRGErXGCoeoDQZnNIUFI)

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

![](/files/qoeUQb5prCI89dHxCo4o)

### 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](/pandez-guard/premium/customization.md).&#x20;


---

# 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://docs.pandezlabs.com/pandez-guard/setting-up.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.
