> For the complete documentation index, see [llms.txt](https://docs.habrok.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.habrok.app/admin-features/setting-a-reward.md).

# Setting a reward

/set-reward command

## Permission

This command is available to Administrators only.

## Purpose

<figure><img src="https://1094611688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFQZptSheoFNdJZHsSnbs%2Fuploads%2FW6niA01rkoaiELSIRNqQ%2Fimage.png?alt=media&amp;token=b3a462eb-e596-493b-8ca7-6d257c7a82d0" 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="https://1094611688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFQZptSheoFNdJZHsSnbs%2Fuploads%2FFf8mCkZLtKhUPrY0Sth2%2Fimage.png?alt=media&amp;token=f8dbff06-895f-4791-90bd-f7dca980658b" alt=""><figcaption></figcaption></figure>
