https://github.com/mogelpeter/active-developer-badge
Discord Bot to claim the Discord ,,Active Developer´´ badge.
https://github.com/mogelpeter/active-developer-badge
active-developer active-developer-badge badge discord discord-badge discord-bot discord-developer-badge discord-developers discord-js discordjs
Last synced: 4 months ago
JSON representation
Discord Bot to claim the Discord ,,Active Developer´´ badge.
- Host: GitHub
- URL: https://github.com/mogelpeter/active-developer-badge
- Owner: mogelpeter
- Created: 2024-07-12T09:19:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T11:54:56.000Z (11 months ago)
- Last Synced: 2024-09-28T08:41:31.311Z (8 months ago)
- Topics: active-developer, active-developer-badge, badge, discord, discord-badge, discord-bot, discord-developer-badge, discord-developers, discord-js, discordjs
- Language: JavaScript
- Homepage:
- Size: 3.21 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord Bot Setup for Active Developer Badge
## Introduction
This guide will walk you through setting up a Discord bot to earn the Active Developer Badge. Follow the steps carefully to ensure your bot is set up correctly and eligible for the badge.
## Instructions
### Step 1: Create a New Application
1. Go to [Discord Developer Portal](https://discord.com/developers/applications).
2. Click the **New Application** button.
3. Give your application a name and create it.### Step 2: Create a Bot Account
1. Navigate to the **Bot** tab.
2. Click **Add Bot** and confirm.
3. Click **Reset Token** to generate a new token. If you have 2FA enabled, you'll need your code.
4. Copy the generated token.### Step 3: Clone the Repository and Set Up the Bot
1. Click this badge to clone this repo to a new repl in Replit -> [](https://replit.com/new/github/mogelpeter/active-developer-badge)
2. Create a `config.json` file in the root of the project with the following content:
```json
{
"token": "YOUR_DISCORD_BOT_TOKEN_HERE"
}
```
3. Replace `YOUR_DISCORD_BOT_TOKEN_HERE` with the token you copied earlier.### Step 4: Run the Bot
1. Open a terminal and navigate to the project directory.
2. Run `npm install` to install the necessary dependencies.
3. Start the bot with `npm start`.
4. Wait for it to print 'DONE | Application/Bot is up and running. DO NOT CLOSE THIS TAB UNLESS YOU ARE FINISHED USING THE BOT, IT WILL PUT THE BOT OFFLINE.' in the console.### Step 5: Add the Bot to Your Server
1. Go back to the application page, go to the **General Information** tab, scroll down and copy the **Application ID**.
2. Create a new Discord server (you can delete it at the end).
3. Enable community on the server (you only need to do this if you don't own any other Discord server with community enabled).
4. Return back to [Discord Developer Portal](https://discord.com/developers/applications).
5. Copy the application ID.
6. Use this invite link to add the application to the server: (replace `{applicationid}` with the copied ID) https://discord.com/oauth2/authorize?client_id={applicationid}&scope=bot%20applications.commands&permissions=105227086912### Step 6: Test the Bot
1. In the server, go to a channel and use the `/badge` command on the bot.
### Step 7: Claim Your Badge
1. Go to the [Discord Active Developer Page](https://discord.com/developers/active-developer) and register everything.
2. If it says you're not eligible, it might be because you're not registered in their system yet. You might have to wait up to 24 hours.
3. Congrats on that shiny new badge!**NOTE**: Make sure you have the **"Use data to improve Discord"** setting enabled under User Settings > Privacy & Safety, otherwise you won't be able to be marked as eligible.