# Challenger Commands

## Command Syntax

{% hint style="info" %}
The default prefix is `"c."`
{% endhint %}

| Markdown                | Definition                                |
| ----------------------- | ----------------------------------------- |
| \[ ]                    | Optional argument                         |
| < >                     | Required argument                         |
| \<Option 1 \| Option 2> | Choose one                                |
| *italics*               | Argument must be entered exactly as shown |

## Commands

{% tabs %}
{% tab title="General" %}

| Command                                                        | Description                                                                                                                                                                                 |                                                       |                                                                                                                                                |                                           |                                                                |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | -------------------------------------------------------------- |
| <p><strong>fight</strong> </p><p>\[biome ID]</p><p>\[user]</p> | Fight a random enemy or another user. Fight multiple enemies in a row (including the biome's boss) by specifying the biome you want to fight                                                |                                                       |                                                                                                                                                |                                           |                                                                |
| <p><strong>shop</strong> </p><p><<em>moves</em>                | <em>relics</em>                                                                                                                                                                             | <em>pets</em>></p><p>\[move type]</p><p>\[page #]</p> | Displays the shop for a specified category. Specify the `[move type]`if you wish to only see moves of the specified type (melee, ranged, etc.) |                                           |                                                                |
| <p><strong>info</strong> </p><p><<em>move</em>                 | <em>relic</em>                                                                                                                                                                              | <em>pet</em>                                          | <em>biome</em>                                                                                                                                 | <em>enemy</em>>  </p><p>\<ID or name></p> | Displays information about a move, relic, pet, biome, or enemy |
| <p><strong>buy</strong> </p><p><<em>move</em>                  | <em>relic</em>                                                                                                                                                                              | <em>pet</em>></p><p>\<ID or name></p>                 | Buy an item (see other tabs to find out how to equip the items)                                                                                |                                           |                                                                |
| <p><strong>profile</strong></p><p>\[user]</p>                  | Displays your profile card or the mentioned user's profile card                                                                                                                             |                                                       |                                                                                                                                                |                                           |                                                                |
| <p><strong>inventory</strong> </p><p><<em>moves</em>           | <em>relics</em>                                                                                                                                                                             | <em>pets</em>></p>                                    | Displays a list of your inventory for a specified category                                                                                     |                                           |                                                                |
| <p><strong>rank</strong></p><p>\[stat]</p><p>\[user]</p>       | Displays your global ranking based on the type of `[stat]`. If `[stat]`is not given, the default ranking is based on Mastery. You may also request the ranking of another user if you wish. |                                                       |                                                                                                                                                |                                           |                                                                |
| <p><strong>leaderboard</strong></p><p>\[stat]</p>              | Displays the top 10 players. The leaderboard can be sorted by specifying a `[stat]`                                                                                                         |                                                       |                                                                                                                                                |                                           |                                                                |
| **achievements**                                               | Displays your achievements                                                                                                                                                                  |                                                       |                                                                                                                                                |                                           |                                                                |
| **biomes**                                                     | Displays a list of the biomes you've discovered                                                                                                                                             |                                                       |                                                                                                                                                |                                           |                                                                |
| **scout**                                                      | Gives you a random reward. Rewards coins, moves, relics, or pets. Coins is the most common reward.                                                                                          |                                                       |                                                                                                                                                |                                           |                                                                |
| **equalize**                                                   | Equalizes your Power and Defense stats (sets them to the average between them both)                                                                                                         |                                                       |                                                                                                                                                |                                           |                                                                |
| {% endtab %}                                                   |                                                                                                                                                                                             |                                                       |                                                                                                                                                |                                           |                                                                |

{% tab title="Moves" %}
{% hint style="info" %}
Move-related commands usually start with`move`

Example:`c.move equip`
{% endhint %}

| Command                                                  | Description                    |
| -------------------------------------------------------- | ------------------------------ |
| <p><strong>move equip</strong></p><p>\<move name/ID></p> | Equips the specified move      |
| **moves**                                                | Displays your current move set |
| {% endtab %}                                             |                                |

{% tab title="Relics" %}
{% hint style="info" %}
Relic-related commands usually start with `relic`

Example: `c.relic equip`
{% endhint %}

| Command                                                       | Description                                    |
| ------------------------------------------------------------- | ---------------------------------------------- |
| <p><strong>relic equip</strong></p><p>\<relic name or ID></p> | Equips the specified relic                     |
| **relics**                                                    | Displays your current relic loadout            |
| <p><strong>relic unequip</strong></p><p>\<relic name/ID></p>  | Removes a specified relic from your loadout    |
| <p><strong>relic sell</strong></p><p>\<relic name/ID></p>     | Sells the specified relic for 50% of the price |
| {% endtab %}                                                  |                                                |

{% tab title="Pets" %}
{% hint style="info" %}
Pet-related commands usually start with `pet`

Example: `c.pet rename`and`c.pet equip`
{% endhint %}

| Command                                                | Description                              |
| ------------------------------------------------------ | ---------------------------------------- |
| **pet**                                                | Displays your equipped pet's information |
| <p><strong>pet equip</strong></p><p>\<pet name/ID></p> | Equips a pet from your inventory         |
| **pet unequip**                                        | Returns a pet to your inventory          |
| <p><strong>pet rename</strong></p><p>\<name></p>       | Renames your equipped pet                |
| **pet grow**                                           | Levels up your equipped pet              |
| {% endtab %}                                           |                                          |

{% tab title="Factions" %}
{% hint style="info" %}
All faction-related commands start with `c.faction` or `c.fn` for short
{% endhint %}

| **Name**                                                                         | **Description**                                                                                                                |                                                                                                   |
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------- |
| <p><strong>faction create</strong></p><p>\<name></p>                             | Creates a faction                                                                                                              |                                                                                                   |
| **faction leave**                                                                | Removes you from your current faction                                                                                          |                                                                                                   |
| <p><strong>faction invite</strong></p><p>\<user></p>                             | Send a faction invite to the mentioned user. The mentioned user must not already be in a faction.                              |                                                                                                   |
| **faction delete**                                                               | Deletes the faction (only the faction owner can use this command)                                                              |                                                                                                   |
| <p><strong>faction donate</strong></p><p>\<amount></p>                           | Donates the specified number of coins to your faction. These funds can only be used for leveling up the faction                |                                                                                                   |
| <p><strong>faction withdraw</strong></p><p>\<amount></p>                         | Withdraws the specified number of coins from your faction's funds. Only the faction leader can use this command                |                                                                                                   |
| <p><strong>faction appoint</strong></p><p>\<user></p>                            | Appoints the mentioned user as an officer of your faction (only the faction owner can use this command). User IDs work as well |                                                                                                   |
| <p><strong>faction demote</strong></p><p>\<user></p>                             | Demotes the mentioned faction officer. User IDs work as well                                                                   |                                                                                                   |
| <p><strong>faction kick</strong></p><p>\<user></p>                               | Kicks the mentioned user from the faction. User IDs work as well                                                               |                                                                                                   |
| **faction permissions**                                                          | Displays the permissions for the faction officers                                                                              |                                                                                                   |
| <p><strong>faction setpermissions</strong></p><p>\<permission type></p><p>\<true | false></p>                                                                                                                     | Changes the specified officer permission. Use this command to view the permissions you can change |
| <p><strong>faction changedescription</strong></p><p>\<description></p>           | Changes the faction description                                                                                                |                                                                                                   |
| <p><strong>faction rename</strong></p><p>\<name></p>                             | Changes the faction name                                                                                                       |                                                                                                   |
| **faction upgrade**                                                              | Increases the faction's level for a certain price                                                                              |                                                                                                   |
| <p><strong>faction changecolor</strong></p><p>\<hex color></p>                   | Changes the faction's theme color. Example: `c.faction changecolor a3fb78`                                                     |                                                                                                   |
| <p><strong>faction leaderboard</strong></p><p>\[league name]</p>                 | Displays the leaderboard of factions in your league or the specified league.                                                   |                                                                                                   |
| **faction members**                                                              | Displays a list of your faction's member&#x73;**.** It is sorted by points in descending order                                 |                                                                                                   |
| **faction officers**                                                             | Displays a list of your faction's officers                                                                                     |                                                                                                   |
| <p><strong>faction info</strong></p><p>\<faction name></p>                       | Displays information about a specified faction. The name is case-sensitive                                                     |                                                                                                   |

{% endtab %}

{% tab title="Settings" %}
{% hint style="info" %}
Settings-related commands usually start with `settings`\
Example: `c.settings setdelay 3.5`
{% endhint %}

| Command                                                        | Description                                                                                                                                                                                  |                                                |
| -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| **settings**                                                   | Displays your settings                                                                                                                                                                       |                                                |
| <p><strong>settings setdelay</strong></p><p>\<seconds></p>     | Changes the "turn delay" setting. This setting determines how much time passes in between turns during a PvE battle.                                                                         |                                                |
| <p><strong>settings setcolor</strong></p><p>\<hex code></p>    | Changes the "profile color" setting. This settings determines the color of your profile embed. **Only Premium users can use this command.**                                                  |                                                |
| <p><strong>settings settitle</strong></p><p>\<achievement></p> | Changes your profile title to display the specified achievement. You must have earned this achievement. Check your achievements with `c.achievements` and view your profile with `c.profile` |                                                |
| **settings removetitle**                                       | Removes the achievement from your profile.                                                                                                                                                   |                                                |
| <p><strong>settings finalboss</strong></p><p>\<true            | false></p>                                                                                                                                                                                   | Enables or disables random final boss spawning |

{% endtab %}

{% tab title="Server" %}
{% hint style="info" %}
Prefix-related commands usually start with `prefix`

Example: `c.prefix set` and `c.prefix reset`
{% endhint %}

| Command                                                                 | Description                                               |                                                                                                                              |
| ----------------------------------------------------------------------- | --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| **prefix**                                                              | Displays the bot's current prefix                         |                                                                                                                              |
| <p><strong>prefix set</strong> </p><p>\<prefix></p><p><<em>nospace</em> | <em>space</em>></p>                                       | Sets the bot's prefix to the specified prefix. Specify if there should be a space after the prefix with `nospace` or `space` |
| **prefix reset**                                                        | Resets the bot's prefix to `c.`                           |                                                                                                                              |
| **support**                                                             | Posts an invite to the official Challenger Discord server |                                                                                                                              |
| {% endtab %}                                                            |                                                           |                                                                                                                              |

{% tab title="Misc." %}

| Command                                                  | Description                                                              |                                                                                           |
| -------------------------------------------------------- | ------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------- |
| **vote**                                                 | Get some coins for each website you vote on                              |                                                                                           |
| <p><strong>coinflip</strong><br>\<heads                  | tails><br>\<bet><br>\[flips]</p>                                         | Let a coin decide the fate of your life savings. The higher flips, the higher the reward. |
| <p><strong>gift</strong></p><p>\<user></p>               | Gives the mentioned user some free coins at no cost for you              |                                                                                           |
| <p><strong>pay</strong></p><p>\<user></p><p>\<coins></p> | Pays the mentioned user the specified amount of coins                    |                                                                                           |
| **tip**                                                  | Gives a random tip that might help you explore the features of this bot  |                                                                                           |
| **mostused**                                             | Displays the top 10 most used commands                                   |                                                                                           |
| **archivedfight**                                        | See what the combat system was like when I first started making this bot |                                                                                           |
| {% endtab %}                                             |                                                                          |                                                                                           |
| {% endtabs %}                                            |                                                                          |                                                                                           |
