# Setting Up

Make sure the Pandez Tools bot is already in your server (you will receive a link for this after buying the bot in our [Discord](https://discord.gg/Pandez)).

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

## Using the `/setup` command

{% hint style="warning" %}
You need a role with the `Administrator` permission to use the `/setup` command. If you don't have a role with that permission, please ask the server owner to [give you one](https://support.discord.com/hc/en-us/articles/206029707-Setting-Up-Permissions-FAQ#h_01FFTVYQ38W9TVCTM6YZHZXFFA).
{% endhint %}

To start the setup process, type `/setup` (preferably in a private channel) and press enter.&#x20;

![](/files/N9dXpi38A2cGbP26u46n)

### 1. What roles do you want to give `Giveaway Manager` permissions to?

Giveaway Managers are able to do the following:

* Use the `/create` command
* Use the `/view` command
* Use the `/end` command
* Use the `/cancel` command
* Use the `/reroll` command
* Use the `/view wallet` command to view the wallet addresses of other members/roles

{% hint style="info" %}
Visit the [Commands List](/pandez-tools/command-list.md) page for a full overview on what these commands do.
{% endhint %}

![](/files/1bPbi4HEcOm2sm9oBIrM)

{% hint style="warning" %}
The role you give Giveaway Manager permissions to, must have the `Use Application Commands` permission to be able to use slash commands.

<img src="/files/RoQ9MG2pun7HrZoyUa34" alt="" data-size="original">
{% endhint %}

### 2. What roles can access the `/file` command?

Access to this command should only be given to the most trusted members of your team (preferably only admins). The `/file` command lets you upload a file and give a specified role to every member found in it.&#x20;

![](/files/8NbSnzaVBILAG6n9NELB)

### 3. What roles can access the `/wallet` command?

The `/wallet` command lets members set (`/wallet set`) and view (`/wallet view`) their own wallet address, to enter giveaways that require them. Access to this command can be given to `@everyone` or restricted to a specific or multiple roles.

![](/files/ZlpocFC197xv6FFlDIAY)

### 4. What channel do you want to use for logging?

Pandez Tools has a detailed logging system that logs every time the following events happen:

* A giveaway is created
* A giveaway has ended
* A giveaway is cancelled&#x20;
* A giveaway is forcefully ended
* A giveaway is rerolled

This should be set to a private channel, not for everyone to see.

![](/files/uJgSsSPmsBYacFzl5Ivn)


---

# 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-tools/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.
