Slash Commands are here! No more guessing how commands work or trying to figure out which ID goes where. Slash Commands are here to make your life a whole lot easier.
WHAT ARE SLASH COMMANDS?
Slash Commands are the new, exciting way to build and interact with bots on Discord. With Slash Commands, all you have to do is type
/ and you're ready to use your favorite bot. You can easily see all the commands a bot has, and validation and error handling help you get the command right the first time.
Not every bot might be using Slash Commands right now. They're brand new, and it'll take some time for developers to start using them. So, be patient, but get excited!
We've all used a
!help command and then received a wall of text in response. Now, instead of having to google a bot's commands or look through that long
!help answer, you can see all the commands a bot has to offer just by typing
This command list will filter commands as you type, making it easy to browse commands or find exactly what you're looking for. You quick typers out there can also user
ENTER to quickly choose and navigate through commands.
For certain values in Slash Commands, we'll help you out with a handy autocomplete! No more needing to remember ids. If you need to pick a user, a role, or a channel, you can use the autocomplete that you know and love to help.
VALIDATION AND ERROR HANDLING
Slash Commands help you learn how to use bots without the awkward mistakes of typing the wrong command into chat, or typing it the wrong way. If you accidently pick an invalid option, we'll let you know before it sends:
Slash Commands are powerful, but with great power comes great responsibility. So, we've added a new "Use Slash Commands" permission to help keep your server organized. You can turn off Slash Commands for your entire server or for a specific channel by changing that permission.
The "Use Slash Commands" permission only affects commands created by bots. "Built-in" commands like
/me will be unaffected.
HOW DO I MAKE SLASH COMMANDS?
If you want to try your hand at making custom Slash Commands, check out our documentation. Slash Commands can be integrated into your existing bot, or you can make something entirely new!