Custom Commands
Manage Custom Commands in Discord
Custom commands can be managed in Discord with a handful of Discord commands.
You can use the commands listed below to manage your custom commands.
All these commands require you to have the Discord Administrator permission in the server you are trying to use them in.
TIP
These do not exist as /slash commands, and must be used as !command.
!addcmd
Used to add a new custom command to your server.
This command takes 2 arguments. The first is the name of the Custom Command you wish to add. The second is the response text for the command.
Usage example:
!addcmd mycommand Hello, this command has been used {{counter::mycommand}} times!
As you can see, the arguments mentioned in the Text Commands documentation can be used here.
!remcmd
Used to remove a custom command from your server.
This command takes 1 argument. The name of the command you wish to remove.
Usage example:
!remcmd mycommand
Simple!
!setcounter
Used to set the value of a counter.
This command takes 2 arguments. The first is the name of the counter you wish to set. The second is the value you wish to set it to.
Usage example:
!setcounter mycommand 10
Now if we use our command from earlier (!mycommand), it will increment by one and say:
Hello, this command has been used 11 times!
!rscounter
Used to reset a counter to 0.
This command takes 1 argument. The name of the counter you wish to reset.
Usage example:
!rscounter mycommand
Now if we use our command from earlier (!mycommand), it will say:
Hello, this command has been used 1 times!