Skip to content

Discord slash command builder

Make slash commands and events for your own bot by connecting blocks.

Choose what members type and drag in blocks for what the bot should do, all without writing code. When you save, BotGhost puts it in Discord as a real slash command (the kind that pops up when you type /) and hosts the bot for you. If you haven't made a bot yet, start with how to make a Discord bot without coding.

The free plan gives you 3 custom commands and 3 custom events without paying anything.

#giveaways
You used /giveaway prize: Nitro Classic
BotGhost Community APP Today at 18:02
Giveaway: Nitro ClassicPress Enter below to join. One entry each. Ends in 1 day.Hosted by @You
Enter
BOTGHOST COMMUNITY
/giveawayStart a giveaway, one entry each
/dailyClaim your daily coins
/banBan a member and log it
/rankSee your level and XP
/

How the Discord bot command builder works

A command is a set of blocks joined by lines. It starts at the yellow block (that's where the name goes) and runs down the lines one block at a time. You've got over 100 blocks to pick from, and each one is one of three colours.

The Command Builder with the /giveaway command: the block list on the left, and Send or Edit a Message, Wait, and If / Else blocks connected on the canvas

Options

The bits a member fills in after the command name, like a prize, someone to warn, or a picture. There are seven kinds: Text, Number, User, Channel, Role, Choice, and Attachment.

Actions

What your bot does, from the top of the command down. You'll use Send or Edit a Message and Add Roles the most, but there's Ban a Member, Set Variable, and loads more.

Conditions

Where a command splits. If / Else is the big one. Role Condition, Permissions Condition, and Chance Condition (a dice roll) handle most of the rest.

Slash command options, buttons, menus, and forms

Options are what members type after the command name. In /giveaway prize: Nitro Classic, the prize is an option, and whatever someone puts there can be used by any block further down.

  • Send or Edit a Message can put buttons and select menus on a reply. Every button gets its own blocks, so Enter can do one thing and Leave another.
  • Send a Form pops up a form (like the Report one here) and waits till they've filled it in.
  • Subcommands: call a command economy daily and Discord shows it as /economy daily. You can fit 25 under one name.
  • Right-click ones too: User and Message commands show up in Discord's Apps menu. And you can make commands that work in DMs.
About the message builder
#support
BotGhost Community APP Today at 09:30
Report a memberSaw someone breaking the rules? Press Report and tell the staff team.
Report
Report a member
WHO ARE YOU REPORTING?@Spammer
WHAT HAPPENED?Posting invite links in #general
CancelSubmit

If / Else logic, variables, and permissions with no code

A command can check who ran it and remember a number for next time, then pick what happens based on both. You set all of that up with blocks and settings.

If / Else and conditions

Check whether the member has the Mod role or compare two numbers, then send a yes down one path and a no down the other. Chance Condition rolls a random pick instead.

Every condition

Variables

Your bot remembers things in variables, like someone's coins or how many warnings they've had. Set Variable and Run Equation on Variable save it per member, per channel, or for the whole server, in Data Storage.

About Data Storage

Who can use it

Lock a command to certain roles, or keep some roles and channels out of it. You can require a permission and add a cooldown (per member or per server). Replies can be hidden too, so only the person who ran it sees them.

Command settings

Playbacks

Open a Playback to replay a run on the canvas one block at a time. If a block failed, the Playback gives the reason in plain words.

About Playbacks

Discord bot events

Events run without anyone typing them. When someone joins or boosts the server, the event fires and your blocks run. They use the same blocks as commands, and there are over 100 events to choose from.

Members join or leaveMessagesReactionsVoice channelsRolesChannels and threadsBoostsInvitesPollsScheduled eventsMusicThe bot starting

Timed events run on a schedule (say, a reminder every Monday at noon) or every few minutes. Our own Tickets, Welcomer, and Counting modules are made of these exact events, so you can open one up and change any block you like.

#welcome
You joined the server.
BotGhost Community APP Today at 21:47
Welcome to the server, @You. You are member #1,204.
Read the rulesPick your roles
The Event Builder with a Member Joined event split into paths for bots, returning members, and everyone else, with Make an Image Card and Send or Edit a Message blocks

Free slash commands and events, and what Premium adds

Free bots get 3 custom commands and 3 custom events, in up to 5 servers. Premium removes those limits.

You can also start from someone else's work: grab a pack from the BotGhost Marketplace, or paste a share code someone gave you to get a copy of their command or event, then change whatever you want.

Compare the plans
LimitFreePremium
Custom commands3Unlimited
Custom events3Unlimited
Servers5Unlimited
Values in Data Storage5,00050,000
Online when nobody uses itSwitches off after 2 days without activityStays on

Command builder questions

The docs cover every block, option, and event. If you're still stuck, ask us in the BotGhost Discord.

It's a way to make slash commands (the ones members run by typing / in Discord) without writing code. In BotGhost you join up blocks for what members fill in, what the bot checks, and what it does, then hit save.

Build your first slash command

Make your bot, press New command, and join up a few blocks. It's free, and there's no card to enter.

Build a command for free