Skip to content

Slash Commands

TL;DR

Slash commands are the primary way users interact with your bot.

Define command names/options clearly so Discord can autocomplete them.

Slash commands are the main way users interact with your bot. They start with / and are easy to discover and use.

Last updated: 2025-12-14

When you type / in Discord, you see a menu of available commands. These are slash commands.

For example:

  • /help — Show available commands
  • /roll 2d6 — Roll two six-sided dice
  • /poll "What should we play?" — Create a poll

Users can see all available commands by typing /. No need to memorize or guess.

Each command shows a description of what it does.

Discord autocompletes command names, reducing errors.

Commands are grouped by bot, so your commands are separate from other bots.


When you describe your bot, just mention the commands you want:

“Add a /hello command that greets the user”

“Include /joke for random jokes and /dadjoke for dad jokes specifically”

“Create a /roll command that takes a dice notation like 2d20+5”

You can create commands that take inputs:

“/remind [time] [message] — Sets a reminder. Time can be like ‘30m’ or ‘2h’”

“/ban [user] [reason] — Bans a user with an optional reason”

“/poll [question] [option1] [option2] — Creates a poll with choices”


Each command you create can have:

PartWhat It IsExample
NameThe command itself/roll
DescriptionExplains what it does”Roll dice using standard notation”
OptionsInputs from the user[dice] like “2d6”

Use simple, memorable command names:

  • /ban
  • /ban-user-from-server

If you have related commands, use similar patterns:

  • /warn add @user
  • /warn remove @user
  • /warn list @user

Tell users what the command does and any requirements:

“/announce [message] — Posts an announcement (Mod only)“

Specify who can use each command:

“Only users with ‘Moderator’ role can use /kick and /ban”


After deploying your bot, you can see its commands in Discord:

  1. Type / in any channel where your bot is active
  2. Click on your bot’s name to filter its commands
  3. Browse available commands with descriptions

You can also view the generated code in VibeCord’s code panel to see exactly how each command is implemented.


Want to add, remove, or change commands?

Edit your bot and update your description:

“Add a /8ball command that gives magic 8-ball answers”

“Remove the /yell command”

“Change /hi to respond with ‘Hello, friend!’ instead of ‘Hi there‘“


/help — Show all commands
/info — Show server information
/ping — Check if bot is responsive
/warn @user [reason] — Warn a user
/kick @user [reason] — Kick a user
/ban @user [reason] — Ban a user
/mute @user [duration] — Temporarily mute
/joke — Random joke
/roll [dice] — Roll dice
/8ball [question] — Magic 8-ball
/coinflip — Flip a coin
/poll [question] — Create a poll
/remind [time] [message] — Set reminder
/quote — Random inspirational quote

References