Custom slash commands give your Discord Server endless abilities.
For example, with BotDisco you can have a slash command
/purge that deletes a serveral messages in the channel at once. This is helpful if you want to clean up spam messages. Pretty cool!
/ in the message bar of any Discord channel and you should see a list of all the slash commands that Discord server has.
Here are the important things you need to know to make you an expert at building custom slash commands...
Some commands have options. The slap command has an option called
The slap command needs to know, "who do you want to slap?"
In the image above you can see how this is set up in BotDisco.
Give the option a type. In this case "User"
Give the option a name, in this case
Give the option a description, in this case "Who to slap?"
Make the option required.
Let's add another option called
reason. But make this one a Text option and not required.
Turn the flow on in BotDisco by clicking the switch in the top right, and after a few seconds you should see this in Discord.
It's good to let people know why they were slapped.
Sometimes you don't want just any value for an option. You want to give a list of choices to pick from.
For example, let's only let people pick from a list of choices for why they are slapping someone. Here's how that looks...
Make sure to turn the flow on and try it out in Discord!