# Setting a reward

## Permission

This command is available to Administrators only.

## Purpose

<figure><img src="/files/UGZMZBREcBJ6vkn6SCGS" alt=""><figcaption></figcaption></figure>

This commands allows you to set a reward to users whose reputation exceed a certain score.

## Arguments

### role

This is the role that will be set to the community member.

### score-needed

The score that the user needs to earn the role.

{% hint style="danger" %}
To avoid abuse, you cannot set a reward to a negative score. The bot is not intented to be used as an automoderator.
{% endhint %}

### score-before-rescind

This is the score under which the role will be removed. This is used as a buffer to avoid a role being added to and removed from a member too quickly.

{% hint style="warning" %}
The "score-before-rescind" must be lower than or equal to "score-needed".
{% endhint %}

{% hint style="info" %}
Since a role can only be rewarded once, you can edit a reward by running the command a second time with the same role.
{% endhint %}

## Example

<figure><img src="/files/rv4XpHKQ8I70ShLM3n65" alt=""><figcaption></figcaption></figure>


---

# 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.habrok.app/admin-features/setting-a-reward.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.
