Getting Started

Set up your first Disflow bot in 5 minutes. No configuration required.

1

Installation

Create your project with one command

terminal
npx create-disflow my-bot

✨ This creates a new project with everything configured - commands folder, .env template, and more.

2

Get Bot Token

Create your Discord bot

  1. 1Go to Discord Developer Portal
  2. 2Create a new application
  3. 3Go to "Bot" section and copy your token
.env
DISCORD_TOKEN=your_token_here
3

Create Your First Command

Write a simple hello command

commands/hello.js
bot.command.new('hello', 'Say hello', async function() {
await this.reply(`Hello, ${this.user.username}!`);
});
4

Run Your Bot

Start the bot and test it

terminal
cd my-bot\nnpm install\nnpm start

You should see:

🌊 Disflow v1.0.0 ✓ Bot logged in as YourBot#1234 ✓ Successfully deployed 1 slash commands!
🎉

You're All Set!

Your bot is now online. Type /hello in Discord to test it!

What's Next?