Basics

Getting started

Create, publish and test your first private slash-command response.

What you will build

A /hello command that answers “Hello!” in Discord. Start with one working command before adding roles, APIs or plugins.

Prepare Discord

Create an application in the Discord Developer Portal and copy its bot token from Bot → Reset Token. Treat the token like a password. Invite that application to a test server with the bot and applications.commands scopes. You need permission to manage the server.

Build your first response

Create a bot in Bottly and choose Flow Builder.
Save the token in the bot's Settings. Do not paste it into a flow or message.
Open Commands, create hello, and open its flow.
Add Slash Command, set Name to hello and enter a short description.
Connect its output to Reply. Set Content to Hello! and enable Ephemeral for a private response.
Save, check the reported issues, and Publish. Start the bot from its run controls.
In your test server type /hello. You should receive “Hello!” visible only to you.

Before continuing

Saving stores your draft; publishing prepares the version the runtime uses. A preview is not proof Discord accepted a command. If it fails, follow [Troubleshooting](/docs/logs), then continue with the [Flow Builder walkthrough](/docs/flow-builder-basics).