Skip to content

roaccat/discord-active-developer-badge

Repository files navigation

Discord Active Developer Badge Bot

JavaScript DiscordJS Version

How To Use

  1. Download all files and gather up on one file
  2. Install NodeJS
  3. Open CMD or PowerShell on file
  4. Write npm i discord.js then press enter
  5. Write npm install then press enter
  6. Edit the config.json with your information
  7. Write node deploy-commands.js then press enter
  8. Finally you can run your bot. Write node index.js then press enter

Console Commands

  • node deploy-commands.js - register slash commands
  • node undeploy-commands.js - delete all slash commands
  • node index.js - start the project

Bot Commands

  • Available slash commands, /ping & /server & /user & /reload

FAQ (Frequently Asked Questions)

config.json – Configuration Guide

Here are some common questions related to the values you need to provide in your config.json file:

How do I find my bot token?
Go to the Discord Developer Portal and select the bot you've created. From the left-hand sidebar, click on the Bot section. Under the Token section, click Reset Token to generate a new token. You can only view the token once after generating it. If you lose it, you'll need to reset it again.

⚠️ Never share your bot token with anyone.

Bot Token GIF
What is a prefix?
A prefix is a character or set of characters that come before a command (e.g., `!ping`, `!user`). It tells the bot you're entering a command.
How do I find my client ID?
Go to the Discord Developer Portal and select the bot you've created. From the left-hand sidebar, click on the OAuth2 section. Under the Client information section you will find.

⚠️ Never share your client ID with anyone.

Client ID GIF
How do I find my guild (server) ID?
Enable Developer Mode in your Discord settings. Then, right-click your server’s name and select "Copy Server ID".

Guild ID GIF

How do I claim Active Developer Badge?

Go to the Discord Developer Portal and press Claim Badge button. For more information go to the Discord Support Article.

License

This Discord Bot is under the [GNU Lesser General Public License, v3.0].