This tutorial will guide you through creating a command for your Discord channel using ChainJet. Follow these steps:
Log into ChainJet with your wallet.
Click on "Create workflow."
Choose Discord integration as the trigger, and select "New slash command on a server." If this is your first time using the integration, you must authorize ChainJet with your Discord account (More Info).
Fill in the "name" field with the token name, in this case, "eth". In the "description" field, briefly describe the command, such as "$ETH price info".
The final step is to add another action by selecting the "+" under the previous action. Choose the Discord integration and select the action "Send follow-up message".
In the "Message" field, input the information you want the command to return in Discord. From the drop-down menu in the available options of the "Price" integration, select "Price" and "PriceChange24hs".
Your workflow is complete and ready to use. Go to your Discord channel and type "/eth" to retrieve the necessary information.
Thank you for visiting this tutorial. We hope it was helpful!