A lightweight Discord bot specifically designed to help you get the Discord Active Developer Badge through slash command interactions.
The Active Developer Badge is a special profile badge on Discord that shows you’re an active bot developer. To qualify, you need to have a Discord application (bot) that has been used with slash commands in the past 30 days.
/ping
, /hello
, /info
, and /badge
.env.example
to .env
.env
file:
BOT_TOKEN=your_bot_token_here
CLIENT_ID=your_application_id_here
GUILD_ID=your_server_id_here
npm install
npm run deploy
npm start
Or do both at once:
node index.js --deploy
bot
and applications.commands
Send Messages
, Use Slash Commands
/ping
in your server - you should get “BadgeBuddy here!”/hello
, /info
, /badge
Command | Description |
---|---|
/ping |
Test the bot - perfect for badge qualification! |
/hello |
Get a friendly greeting from BadgeBuddy |
/info |
Learn about BadgeBuddy and its features |
/badge |
Step-by-step guide to get the Active Developer Badge |
npm start # Start the bot
npm run deploy # Deploy slash commands to your server
npm run dev # Start with nodemon for development
node index.js -h # Show help information
badgebuddy/
├── bot.js # Main bot logic and command handlers
├── deploy-commands.js # Slash command registration
├── index.js # Application entry point
├── package.json # Dependencies and scripts
├── .env.example # Environment variables template
└── README.md # This file
Variable | Description | Required |
---|---|---|
BOT_TOKEN |
Your Discord bot token | Yes |
CLIENT_ID |
Your Discord application ID | Yes |
GUILD_ID |
Your test server ID | Yes |
NODE_ENV |
Environment (development/production) | No |
--global
flag to register commands globally (up to 1 hour delay)“Missing required environment variables”
.env
file with all required variables“Missing Access” error when deploying commands
applications.commands
scope when invitedCommands not appearing
npm run deploy
againBadge application rejected
If you’re still having issues:
This project is licensed under the MIT License - feel free to modify and use it for your own badge application!
Once you’ve successfully used the bot and applied for the badge, you should see the Active Developer Badge on your Discord profile within a few days. Good luck! 🎖️