{"id":30181255,"url":"https://github.com/pratyush0898/badgebuddy","last_synced_at":"2026-05-11T07:06:29.929Z","repository":{"id":309157448,"uuid":"1035331692","full_name":"pratyush0898/BadgeBuddy","owner":"pratyush0898","description":"BadgeBuddy helps you get the Discord Active Developer Badge! Simple bot with /ping, /hello, /info, /badge commands. Beautiful embeds, badge guide included. Perfect for Community servers!","archived":false,"fork":false,"pushed_at":"2025-08-10T06:59:35.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-10T08:36:04.481Z","etag":null,"topics":["badgebuddy","bot","discord","discord-bot","discordjs","open-source"],"latest_commit_sha":null,"homepage":"https://pratyush0898.github.io/BadgeBuddy/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pratyush0898.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-10T06:55:13.000Z","updated_at":"2025-08-10T07:01:04.000Z","dependencies_parsed_at":"2025-08-10T08:36:06.559Z","dependency_job_id":"12a150a9-60df-4c1b-8453-1f03c53f8473","html_url":"https://github.com/pratyush0898/BadgeBuddy","commit_stats":null,"previous_names":["pratyush0898/badgebuddy"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pratyush0898/BadgeBuddy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2FBadgeBuddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2FBadgeBuddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2FBadgeBuddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2FBadgeBuddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pratyush0898","download_url":"https://codeload.github.com/pratyush0898/BadgeBuddy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratyush0898%2FBadgeBuddy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270024697,"owners_count":24514054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["badgebuddy","bot","discord","discord-bot","discordjs","open-source"],"created_at":"2025-08-12T08:07:47.237Z","updated_at":"2026-05-11T07:06:29.843Z","avatar_url":"https://github.com/pratyush0898.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 BadgeBuddy - Discord Active Developer Badge Helper\n\nA lightweight Discord bot specifically designed to help you get the **Discord Active Developer Badge** through slash command interactions.\n\n## 🎖️ What is the Active Developer Badge?\n\nThe 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.\n\n## ✨ Features\n\n- **4 Useful Slash Commands**: `/ping`, `/hello`, `/info`, and `/badge`\n- **Beautiful Embeds**: Rich, colorful responses that look professional\n- **Badge Guide**: Built-in help for getting your Active Developer Badge\n- **Error Handling**: Robust error handling with helpful messages\n- **Easy Setup**: Simple configuration with environment variables\n\n## 🚀 Quick Start\n\n### Prerequisites\n- Node.js 16.9.0 or higher\n- A Discord account\n- A Community Discord server (you can create one)\n\n### 1. Discord Application Setup\n1. Go to [Discord Developer Portal](https://discord.com/developers/applications)\n2. Click \"New Application\" and name it \"BadgeBuddy\"\n3. Go to the \"Bot\" tab and create a bot\n4. Copy the bot token (keep it secret!)\n5. Note your Application ID from the \"General Information\" tab\n\n### 2. Server Setup\n1. Create a new Discord server (or use an existing one)\n2. Go to Server Settings \u003e Community and enable Community features\n3. Complete the Community setup (rules, announcements, etc.)\n\n### 3. Bot Installation\n1. Clone or download this project\n2. Copy `.env.example` to `.env`\n3. Fill in your `.env` file:\n   ```env\n   BOT_TOKEN=your_bot_token_here\n   CLIENT_ID=your_application_id_here\n   GUILD_ID=your_server_id_here\n   ```\n\n4. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n5. Deploy commands and start the bot:\n   ```bash\n   npm run deploy\n   npm start\n   ```\n\n   Or do both at once:\n   ```bash\n   node index.js --deploy\n   ```\n\n### 4. Invite Bot to Server\n1. In Discord Developer Portal, go to OAuth2 \u003e URL Generator\n2. Select scopes: `bot` and `applications.commands`\n3. Select permissions: `Send Messages`, `Use Slash Commands`\n4. Copy the generated URL and invite bot to your Community server\n\n### 5. Test the Bot\n- Use `/ping` in your server - you should get \"BadgeBuddy here!\"\n- Try other commands: `/hello`, `/info`, `/badge`\n\n### 6. Apply for Badge\n1. Enable telemetry: Discord Settings \u003e Privacy \u0026 Safety \u003e \"Use data to improve Discord\" ✅\n2. Visit [discord.com/developers/active-developer](https://discord.com/developers/active-developer)\n3. Select your BadgeBuddy application\n4. Choose your Community server\n5. Submit application\n\n## 📝 Commands\n\n| Command | Description |\n|---------|-------------|\n| `/ping` | Test the bot - perfect for badge qualification! |\n| `/hello` | Get a friendly greeting from BadgeBuddy |\n| `/info` | Learn about BadgeBuddy and its features |\n| `/badge` | Step-by-step guide to get the Active Developer Badge |\n\n## 🛠️ Scripts\n\n```bash\nnpm start          # Start the bot\nnpm run deploy     # Deploy slash commands to your server\nnpm run dev        # Start with nodemon for development\nnode index.js -h   # Show help information\n```\n\n## 📁 Project Structure\n\n```\nbadgebuddy/\n├── bot.js              # Main bot logic and command handlers\n├── deploy-commands.js  # Slash command registration\n├── index.js           # Application entry point\n├── package.json       # Dependencies and scripts\n├── .env.example       # Environment variables template\n└── README.md          # This file\n```\n\n## 🔧 Configuration\n\n### Environment Variables\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| `BOT_TOKEN` | Your Discord bot token | Yes |\n| `CLIENT_ID` | Your Discord application ID | Yes |\n| `GUILD_ID` | Your test server ID | Yes |\n| `NODE_ENV` | Environment (development/production) | No |\n\n### Development vs Production\n\n- **Development**: Commands are registered to your specific server (faster updates)\n- **Production**: Use `--global` flag to register commands globally (up to 1 hour delay)\n\n## 🚨 Important Notes\n\n1. **Community Server Required**: Badge qualification requires using commands in a Community-enabled server\n2. **Telemetry**: Enable Discord's data usage in your privacy settings\n3. **Recent Activity**: Use commands within 30 days of applying for the badge\n4. **Token Security**: Never share your bot token or commit it to version control\n\n## 🐛 Troubleshooting\n\n### Common Issues\n\n**\"Missing required environment variables\"**\n- Make sure you've created a `.env` file with all required variables\n\n**\"Missing Access\" error when deploying commands**\n- Ensure your bot has the `applications.commands` scope when invited\n\n**Commands not appearing**\n- Try running `npm run deploy` again\n- Make sure you're in the correct server where you deployed commands\n\n**Badge application rejected**\n- Ensure you're using commands in a Community server\n- Check that telemetry is enabled in Discord settings\n- Make sure you have recent command usage (within 30 days)\n\n### Getting Help\n\nIf you're still having issues:\n1. Check the console output for error messages\n2. Verify all your IDs are correct (bot token, client ID, guild ID)\n3. Make sure your bot has the right permissions in your server\n\n## 📜 License\n\nThis project is licensed under the MIT License - feel free to modify and use it for your own badge application!\n\n## 🎉 Success!\n\nOnce 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! 🎖️","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratyush0898%2Fbadgebuddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratyush0898%2Fbadgebuddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratyush0898%2Fbadgebuddy/lists"}