Ping command
Let's make a simple ping command, where you send a command ping
and bot reply with pong
Steps
#1 Creating Command
Your first step, will be creating a new custom command, check this page
#2 Trigger Settings
In the trigger settings
- Select Type to be
Word
, you can know more about this trigger here - Set Trigger to be
ping
This means, it will run this command when user send ping
#3 Response
To make him reply with pong
when this command run, we simply write pong
in the code section
Test time
Save the command and go to your server and send ping
Congratulations 🎉