> For the complete documentation index, see [llms.txt](https://docs.claimr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.claimr.io/tasks/discord-tasks.md).

# Discord tasks

**Use Discord tasks to**

* Increase your Discord server members.
* Encourage users to participate in Discord discussions or activities.
* Promote your Discord community within your claimr campaigns.
* Reward users for joining and interacting with your Discord server.
* Track the effectiveness of your Discord marketing efforts.

{% hint style="info" %}
For detailed information about general task settings, including task name, header, description, rewards, dependencies, and more, refer to [Task settings](/tasks/task-settings.md).&#x20;
{% endhint %}

## **Task type**

Choose the specific type of task you want to create for your campaign.&#x20;

<figure><img src="/files/aGh7dq9GdOXoExyikBOf" alt="" width="563"><figcaption><p>Task type section</p></figcaption></figure>

1. Select <mark style="color:green;">**Discord**</mark> to indicate that the task will be completed with Discord.
2. Considering your aim, select the specific task type from the expanded list.

## Task settings

### **Add ⚡️Claimr bot to the channel/group**

Before creating a Discord task, add the claimr bot to your Discord server and grant it administrator permissions. This allows the bot to seamlessly interact with your campaign, track task completion, and distribute rewards. Add the bot by clicking on the link provided in the task settings or copy the claimr's bot link and add it to your Discord group/channel[\
https://discord.com/oauth2/authorize?client\_id=1034891789640933447\&permissions=1\&scope=bot](<&#xA;https://discord.com/oauth2/authorize?client_id=1034891789640933447\&permissions=1\&scope=bot>)&#x20;

{% hint style="warning" %}
Remember, accuracy is crucial when entering the ID to ensure Claimr can correctly interact with your Discord group or channel.
{% endhint %}

<figure><img src="/files/lsBn1pa9manbR0EVqMgA" alt="" width="563"><figcaption><p>Task settings</p></figcaption></figure>

**Completion points:** Set the base points a user earns once the required event count is reached.

**Points multiplier (%):** Apply a percentage bonus to the base points (e.g., 5 → +5%).

**Invite link:** Add the invite URL to your Discord server (e.g., <https://discord.gg/>...).

**Is intent? (optional):** Enable to require a manual confirmation of intent before the task is marked complete.

### Verify Discord roles&#x20;

<figure><img src="/files/VPK0L3VVH23Q7dRy3BFs" alt="" width="563"><figcaption></figcaption></figure>

**Completion points:** Set the base points a user earns once the required event count is reached.

**Points multiplier (%):** Apply a percentage bonus to the base points (e.g., 5 → +5%).

**Server Address:** Enter the full server URL (e.g., <https://discord.com/channels/\\><serverID>/\<channelID>).

**Roles:** Click to choose the role(s) a user must have.

**Fetch roles:** Click to load the current roles from your server.

**Any role from list? (optional):** Enable to pass the task if the user has any of the fetched roles; keep off to require the specific role(s) selected above.

### Discord server activity (Verified)

<figure><img src="/files/f7qc76dYyY76ae9VicVp" alt="" width="563"><figcaption></figcaption></figure>

Completion points: Set the base points a user earns once the required event count is reached.

Points multiplier (%): Apply a percentage bonus to the base points (e.g., 5 → +5%).

Server Address: Enter the channel URL where activity is checked (e.g., <https://discord.com/channels/\\><serverID>/\<channelID>).

Expected text (optional): Require an exact string to appear in the user’s message (e.g., brand name or keyword).

RegEx (optional): Define a pattern to allow message variations while still passing (e.g., case, punctuation, emojis).

#### **Examples**

* **Include a specific emoji:** If you want to include a specific emoji (e.g., ✨), you could use a regular expression like `.*✨.*` to allow for any characters before or after the emoji.
* **Use a specific word or phrase:** If you want to ensure the user adds a specific word or phrase, you could use a regular expression like `^YourKeyword` to match any string that begins with "YourKeyword".
* **Match a specific format:** You can use regular expressions to define more complex patterns, such as email addresses, phone numbers, or dates. For example, to match a valid email address, you could use a regular expression like `[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}`.

**Resources**

* **Regular expression builder:** <https://regex101.com/>
* **AI assistants**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.claimr.io/tasks/discord-tasks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
