Creating Custom Commands
Set up custom triggers to automate currency actions
Overview
Custom commands allow you to set up specific triggers with cooldown periods that automate currency actions within your Discord server. Currently, the available template is the work template, which prints currency for the user who sent the command. More templates, such as rob templates, will be available in the future.
How to Create a Custom Command
To create a custom command, you need to access the /curr menu
for the specific currency ticker.
Accessing the Custom Command Menu
-
Use the command
/curr menu [ticker]
, where[ticker]
is the unique identifier of the currency (e.g., GOLD, SILV). -
In the menu that appears, locate the Custom Command button highlighted in the red rectangle in the image below:
Selecting a Template
-
Click on the Custom Command button to open the template selection menu.
-
Currently, the only available template is the work template. Select it from the dropdown menu, as shown in the image below:
Configuring the Custom Command
-
After selecting the template, a modal will appear asking for the relevant information. Fill in the fields as described below:
- Trigger Word: The word or phrase that will trigger the command (e.g.,
.work
,.chop
). - Cooldown in Hours (Minimum 1): The cooldown period in hours before the command can be used again.
- Custom Message ([X] will be replaced): The message that will be displayed when the command is used, with
[X]
being replaced by the action (e.g., “You chopped [X] wood!”). - Amount of Currency to be Printed: The amount of currency to be given to the user each time the command is used.
- Trigger Word: The word or phrase that will trigger the command (e.g.,
-
Click Submit to create the custom command.