Skip to content

A Discord bot that automatically sends a command monthly to maintain the Discord Active Developer Badge without manual intervention. Quick 5-minute setup, no server or programming required!

License

Notifications You must be signed in to change notification settings

Sanquinary/discord-active-developer-badge-forever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Active Developer Badge Forever

Node.js License

A simple Discord bot built with discord.js that automatically sends the /ping command monthly to keep the Discord Active Developer Badge forever.

Features

  • /ping Command: Responds with "Pong!" when the /ping command is used.
  • Automated Monthly Ping: Sends the /ping command in a specified channel every month.
  • Easy Setup: Interactive setup script for configuration.
  • Persistent Scheduling: Maintains the monthly schedule even after stops or restarts.

Getting Started

Follow these steps to set up and run your own Discord Active Developer Badge bot in less than 5 minutes.

Prerequisites

For local hosting (optional):

Remote Hosting on Replit (Option 1)

  1. Go to Replit
    • Import this repo by clicking this button: Run on Repl.it
    • You will need a Replit account. Sign up with Google/GitHub for quick registration.
  2. Click the Run button
  3. Answer the 4 prompts
    • Answer the 4 prompts in the console in the bottom-right.
    • Don't know the answers? No worries! Check the Interactive Configuration section.
  4. You're done!
    • Test your bot in your server by sending /ping or wait for the automatic monthly schedule.
    • The schedule to maintain active status is logged in the schedule.json file.
  5. Retrieving the Badge

Local Hosting (Option 2)

Local Hosting Steps
  1. Clone the repository:

    git clone https://github.com/Sanquinary/discord-active-developer-badge-forever.git
    cd discord-active-developer-badge-forever
  2. Install dependencies:

    npm install
  3. Start the bot:

    node index.js
  4. (Optional) Start the bot with PM2:

    npm install pm2 -g
    pm2 start index.js --name "discord-bot"
    pm2 save
    pm2 startup

Interactive Configuration

When you run the project for the first time, you will be prompted to provide the following:

  1. Bot Secret Token:

    • Go to: Applications -> YOUR_APPLICATION -> Bot Tab -> Reset Token -> Copy this token
  2. Bot Client ID:

    • Go to: Applications -> YOUR_APPLICATION -> Application ID -> Copy this ID
  3. Discord Server (Guild) ID:

    • Open Discord -> Navigate to your server -> Right-click the server name -> Copy Server ID
    • If Copy Server ID doesn't show, enable Developer Mode in Settings -> Appearance -> Developer Mode
  4. Discord Channel ID:

    • Open Discord -> Navigate to your server -> Right-click the desired text channel -> Copy Channel ID

Retrieving the Badge

To retrieve the badge:

  • Manually run the /ping command in your Discord Server after starting your bot in Replit with Run or with node index.js locally.
  • Ensure you meet Discord's requirements for the Active Developer Badge

Wait at least 24 hours and check this page: Active Developer Badge to claim your badge.

Claim your badge

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A Discord bot that automatically sends a command monthly to maintain the Discord Active Developer Badge without manual intervention. Quick 5-minute setup, no server or programming required!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published