# Staff

## 1. Moderator Commands

For members with `ManageRoles` permission & Moderator Staff ([/staff](https://docs.tempbot.xyz/owner#staff))

<details>

<summary>/role</summary>

・ `add` [`<member>`](#user-content-fn-1)[^1] [`<role>`](#user-content-fn-2)[^2] [`[reason]`](#user-content-fn-3)[^3] → *(Adding a role to a member)*

・ `remove` [`<member>`](#user-content-fn-4)[^4] [`<role>`](#user-content-fn-5)[^5] [`[reason]`](#user-content-fn-3)[^3] → *(Removing a role from a member)*

</details>

<details>

<summary>/temprole</summary>

・ `add` [`<member>`](#user-content-fn-6)[^6] [`<role>`](#user-content-fn-2)[^2] [`<duration>`](#user-content-fn-7)[^7] [`[reason]`](#user-content-fn-3)[^3]

↪ *(Adding a temprole to a member)*

・ `remove` [`<member>`](#user-content-fn-8)[^8] [`<role>`](#user-content-fn-5)[^5] [`[reason]`](#user-content-fn-3)[^3]

↪ *(Removing a temprole from a member)*

・ `change` `role` [`<member>`](#user-content-fn-4)[^4] [`<current_role>`](#user-content-fn-5)[^5] [`<new_role>`](#user-content-fn-2)[^2] [`[reason]`](#user-content-fn-3)[^3]

↪ *(Changing the temproles)*

・ `change` `duration` [`<member>`](#user-content-fn-4)[^4] [`<role>`](#user-content-fn-9)[^9] [`<duration>`](#user-content-fn-10)[^10] [`[reason]`](#user-content-fn-3)[^3]

↪ *(Changing the duration of a temprole)*

・ `change` `duration-forall` `<role>` `<duration>` `<confirm>` [`[reason]`](#user-content-fn-3)[^3]

↪ *(Changing the duration of a temproles for all members)*

</details>

<details>

<summary>/information</summary>

・ `member` `<member>` `[sort]` `[filetype]` → *(Show member's temproles)*

・ `role` `<role>` `[sort]` `[filetype]` → *(Shows who has this temprole)*

・ `all` `[sort]` `[filetype]` → *(Shows everyone who has temproles)*

</details>

<details>

<summary>/serverinfo</summary>

Shows information about your server

</details>

## 2. Administrator Commands

For members with `Administrator` permission & Administrator Staff ([/staff](https://docs.tempbot.xyz/owner#staff))

<details>

<summary>/logs</summary>

・ `on_off` `<event>` `<turn>` → *(Enable/Disable logs)*

・ `set` `<event>` `[channel]` `[color]` → *(Set logs)*

・ `display` → *(Shows logs details)*

</details>

<details>

<summary>/settings </summary>

・`res_msg` → *(Shows the bot responding type & Changing it)*

</details>

<details>

<summary>/<a data-footnote-ref href="#user-content-fn-11">recovery </a><a data-footnote-ref href="#user-content-fn-12"><code>[enable]</code></a> <code>(⭐Premium)</code></summary>

Allow your members to receive the left duration of their roles after re-join your server

</details>

<details>

<summary>/reminder <code>(⭐Premium)</code></summary>

・ `help` → *(Shows how to create reminders)*

・ `create <role> <duration>` → *(Create a new reminder)*

・ `edit <id>` → *(Edit the reminder content)*

・ `delete <id>`  → *(Delete the reminder)*

・ `show [id]`  → *(Shows reminders)*

</details>

<details>

<summary>/license <code>(⭐Premium)</code></summary>

・ `create <role> <duration> [user] [uses] [limit] [count] [expiry] [key] [reason]` → *(Create a new license key)*

```markdown
  [user] → The member who can redeem this key
  [uses] → How many times the same member can use this key
 [limit] → How many members can use this key
 [count] → How many keys do you want with the same options
[expiry] → How long time to be non-redeemable
   [key] → Create a special key like (trial, 50off ...etc)
[reason] → The reason that will write in the logs
```

・ `delete <key> [reason]` → *(Delete a license key)*

・ `enable <key> [reason]` → *(Enable a license key)*

・ `disable <key> [reason]` → *(Disable a license key)*

・ `reset <key> <confirm> [user] [reason]` → *(Reset license uses)*

・ `show [key]` → *(Shows license keys)*

</details>

<details>

<summary>/joinrole <code>(⭐Premium)</code></summary>

・ `create <role>` [`<duration>`](#user-content-fn-7)[^7] `[limit]` [`[reason]`](#user-content-fn-3)[^3] → *(Create a join role)*

・ `delete <id>` → *(Delete a join role)*

・ `show [id]` → *(Shows join roles)*

</details>

<details>

<summary>/reactions <code>(⭐Premium)</code></summary>

・ `create <url>` [`<reaction>`](#user-content-fn-7)[^7] `<role> [duration]` → *(Create a reaction role)*

・ `delete <code>` → *(Delete a reaction role)*

・ `show` → *(Shows all reaction roles)*

</details>

<details>

<summary>/buttons <code>(⭐Premium)</code></summary>

・ `create <label> <role>` [`[duration]`](#user-content-fn-7)[^7] `[color]` → *(Create a button role)*

・ `delete <code>` → *(Delete a button role)*

・ `show` → *(Shows all button roles)*

</details>

<details>

<summary>/boosts <code>(⭐Premium)</code></summary>

・ `set <role>` [`<duration>`](#user-content-fn-7)[^7] `<monthly_limit>` → *(Setting the boosts reward)*

・ `on_off <turn>` → *(Enable/Disable boosts reward)*

・ `check` → *(Shows the boosts reward settings)*

</details>

[^1]: 💡 The member who will get the role

[^2]: 💡 The role that will be added

[^3]: 💡 This reason will appear in the logs

[^4]: 💡 The member who will be affected

[^5]: 💡 The role that will be removed

[^6]: 💡 The member who will get the temprole

[^7]: 💡 The duration you want to set\
    \&#xNAN;*<mark style="color:blue;">S = Second(s)   M = Minute(s)</mark>*\
    *<mark style="color:blue;">H = Hour(s)       D = Day(s)</mark>*

    *<mark style="color:blue;">W = Week(s)     MO = Month(s)</mark>*

    &#x20;             *<mark style="color:blue;">Y = Year(s)</mark>*

    <mark style="color:purple;">Examples:</mark> <mark style="color:purple;"></mark><mark style="color:purple;">`1mo`</mark><mark style="color:purple;">,</mark> <mark style="color:purple;"></mark><mark style="color:purple;">`2w`</mark> <mark style="color:purple;"></mark><mark style="color:purple;">or</mark> <mark style="color:purple;"></mark><mark style="color:purple;">`5d`</mark>

[^8]: 💡 The member who will loss the temprole

[^9]: 💡 The role you want to change its duration

[^10]: 💡 The new duration you want, can be set (=), add time (+) or remove time (-)\ <mark style="color:purple;">Examples:</mark> <mark style="color:purple;"></mark><mark style="color:purple;">`1mo`</mark><mark style="color:purple;">,</mark> <mark style="color:purple;"></mark><mark style="color:purple;">`+2w`</mark> <mark style="color:purple;"></mark><mark style="color:purple;">or</mark> <mark style="color:purple;"></mark><mark style="color:purple;">`-5d`</mark>

[^11]: 💡 Shows recovery mode

[^12]: 💡 Enable/Disable recovery
