Skip to content

Discord Bot to get the discord active dev badge, written fully in typescript and made easy for beginners

Notifications You must be signed in to change notification settings

Kopiium/discord-active-developer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What You Need Before You Follow Along.

  • Node 16 or higher
  • Typescript
  • Patience and Common-sense
  • oh! and Git

Follow the steps bellow

Step 1. Go here > Dev Portal Apps > Click on [New Application]

  • After you do so you'll be prompted with this modal. Add a name and agree to discord's policy and click on create.

Screenshot 2022-11-11 204128

Step 2. Navigate to the bot section and click on the [Add Bot]

  • If you already have a bot, skip this part.

Screenshot 2022-11-11 204329

Step 3. Now to get the bot token we just need to click on [Reset Token]

  • You'll be prompted with a modal after you hit the button to confirm, just agree to it.
  • If you have 2FA enabled you need to enter the OTP you have on your authenticator. Screenshot 2022-11-11 204613

Step 3.1 Scroll down and enable these just incase, lest discord spanks you with a fat error code.

Screenshot 2022-11-11 205642

Step 4. Click on the [Oauth2] Section above [Bot] and go to the [URL Genereator] Sub section

  • click on bot and application commands and give it admin perms Screenshot 2022-11-11 205821

  • just like this Screenshot 2022-11-11 205856

  • then scroll down and copy the link thats given to you. paste that link in your browser and add the bot to your server

  • after you add the bot to your server, its still offline. The next steps will walk you through how to launch it :)

Screenshot 2022-11-11 205926

Step 5. Clone The Repository. or... download it as a ZIP

  • run this code in your terminal to clone the bot
git clone https://github.com/Kopiium/discord-active-developer.git

terminal0

  • then change into the directory where you downloaded the bot using this terminal command
cd <thefoldername>

terminal1

Step 6. Install the needed packages.

  • Run this command after you change into that terminal
npm install

terminal2

Step 7. Open your IDE/CodeEditor of choice

  • Once you opened the IDE/CodeEditor of choice, proceed to navigate to /core/config.ts
  • Paste The Token you got from Step 3 in those quotes
  • Ignore the rest of the config, all you need is the token config

Step 8. Running the bot

npm run compile
  • Note: if it crashes just run npm run dev instead. terminal4

Step 9. Using the command in the server.

  • Just go to the server you added the bot in and do /badge
  • Should reply with all good, if everything went well allgood

Step 10. Claim your badge from here > [Active Dev]

  • If your app is not on there, then don't worry. Its just your bot is not is registered yet.
  • check back in 20-24hrs

yayy

  • to those who didn't get it, here is what it looks like hehe sweetbadge

Ran into some issues? No worries

  • Here is my Discord Tag: Kopi#5150
  • Here is my Discord Server: Netrunners+
  • You could also open up an issue
  • If you're a python devoloper then I will make a python version soon