Custom Commands
Creating a Custom Command
With the /customcommand command, you can create your own custom commands that execute predefined actions when invoked. This allows you to tailor the bot's functionality to better suit your needs.
To create a custom command, use the following syntax:
/customcommand create <name> <response>
Replace <name> with the desired command name and <response> with the message you want the bot to execute when the command is called.
For example, to create a command named greet that responds with "Hello, welcome to the server!", you would use:
/customcommand create greet Hello, welcome to the server!
Once created, you can invoke your custom command by simply typing /greet in the chat, and the bot will respond with your predefined message.
Deleting a Custom Command
/customcommand delete <name>
Replace <name> with the name of the command you wish to delete.
For example, to delete the greet command, you would use:
/customcommand delete greet
This will remove the command from the bot's list of custom commands.