hackermondev / discord-active-developer-badge Goto Github PK
View Code? Open in Web Editor NEWSimple script you can use to get the new Discord "Active Developer" badge
Simple script you can use to get the new Discord "Active Developer" badge
Citing:
This is, seemingly, not patched yet. Where do I find Discord's ETAs? I've followed all steps twice over 5 days with 2 different accounts. Both accounts weren't deemed eligible.
Both accounts had their respective Application + bot. Also both accounts have 2FA-enabled.
Anyone having similar issues?
I am not that great at coding but I suggest in both 'README.md' and for the done replacement in 'app.js' should be more stressed out.
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.
would be better to let them know to not close it out. Maybe rewording would be used.
Error [TokenInvalid]: An invalid token was provided.
at WebSocketManager.connect (/home/runner/discord-active-developer-badge/node_modules/discord.js/src/client/websocket/WebSocketManager.js:134:26)
at Client.login (/home/runner/discord-active-developer-badge/node_modules/discord.js/src/client/Client.js:232:21)
at /home/runner/discord-active-developer-badge/app.js:51:16
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'TokenInvalid'
I'm providing my token from developer console, this happens everytime
Hi
Is it possible to automaticly set the Token in the code?
I mean I don't have to enter it every time?
Thank you for your answer
The bot need to be on all the time? Because i still not eligble and i already did everything.
After successfully lauching the bot sometimes turns off (it can happen after 4 or 5 hours) and I get errors in Replit console.
npm install && node --no-warnings .
changed 1 package, and audited 38 packages in 5s
7 packages are looking for funding
run npm fund for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run npm audit for details.
npm notice
npm notice New major version of npm available! 8.1.2 -> 9.7.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.7.2
npm notice Run npm install -g [email protected] to update!
npm notice
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '../util/Options'
Require stack:
npm install && node --no-warnings .
up to date, audited 38 packages in 2s
7 packages are looking for funding
run npm fund for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run npm audit for details.
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '../util/Options'
Require stack:
npm install && node --no-warnings .
up to date, audited 38 packages in 2s
7 packages are looking for funding
run npm fund for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run npm audit for details.
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '../util/Options'
Require stack:
npm install && node --no-warnings .
up to date, audited 38 packages in 2s
7 packages are looking for funding
run npm fund for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run npm audit for details.
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '../util/Options'
Require stack:
npm install && node --no-warnings .
up to date, audited 38 packages in 2s
7 packages are looking for funding
run npm fund for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run npm audit for details.
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '../util/Options'
Require stack:
npm install && node --no-warnings .
up to date, audited 38 packages in 3s
7 packages are looking for funding
run npm fund for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run npm audit for details.
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '../util/Options'
Require stack:
npm install && node --no-warnings .
up to date, audited 38 packages in 2s
7 packages are looking for funding
run npm fund for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run npm audit for details.
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '../util/Options'
Require stack:
npm install && node --no-warnings .
up to date, audited 38 packages in 2s
7 packages are looking for funding
run npm fund for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run npm audit for details.
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '../util/Options'
Require stack:
npm install && node --no-warnings .
up to date, audited 38 packages in 2s
7 packages are looking for funding
run npm fund for details
1 high severity vulnerability
To address all issues, run:
npm audit fix
Run npm audit for details.
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '../util/Options'
Require stack:
- /home/runner/discord-active-developer-badge/node_modules/discord.js/src/client/BaseClient.js
- /home/runner/discord-active-developer-badge/node_modules/discord.js/src/index.js
- /home/runner/discord-active-developer-badge/app.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/runner/discord-active-developer-badge/node_modules/discord.js/src/client/BaseClient.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/discord-active-developer-badge/node_modules/discord.js/src/client/BaseClient.js',
'/home/runner/discord-active-developer-badge/node_modules/discord.js/src/index.js',
'/home/runner/discord-active-developer-badge/app.js'
]
}
exit status 1
I believe ive followed the steps properly but after some time of running the program it turns off and requires me to re-run
Using the link provided to let the bot join the server will give the error client_id: Value "{*****************}" is not snowflake
. I've used the URL Generator in the Dev portal using bot scope and selecting Administrator. Is using the URL Generator fine, or is the link to let the bot join your server required for the badge?
It Won’t Let Me Put My Community Server I Have No Idea How To Fix It! Please Help Me Out.
Repl is not allowing to use the resources freely. It only allows the users to use .5v CPU which is not enough for it.
I have had the / commands bot and have run it more than 24h ago and few months ago I also had / command bot but at the time I didn't know abt the badge nad it still doesn't let me apply /redeem it know why?
I did everything but at the end the bot just doesn't respond to the command
my bot on the replit site is stopping working after a while, needing to press "run" and put the token again...
Under Instructions:
Go to the console (big black square on the right) and paste in the token you copied earlier (Note: CTRL + V won't work, you'll need to do CTRL + Shift + V or right-click and click paste
Should have an additional ) at the end.
Go to the console (big black square on the right) and paste in the token you copied earlier (Note: CTRL + V won't work, you'll need to do CTRL + Shift + V or right-click and click paste)
test 123
I've tried a lot of times. It never finished. I'd waited more than half hour. I don't think so it will take longer. Can you check it?
As stated in the title, do I need to open a new server to get the badge?
Hi, I have decided to test it in order to claim the badge but after i put the token from the copied replit it does nothing after that. The done message does not appear nor the bot goes online. Inputing invalid token key triggers nothing too.
fix spelling mistake in readme
replace eligbile with eligible
I tried to run it on Replit, but once I enter the token, the following message comes up.
Uh oh, looks like the node you're on is currently being blocked by Discord. Press the "Enter" button on your keyboard to be reassigned to a new node. (you'll need to rerun the program once you reconnect)
I press Enter and rerun it, but it says the same thing. The program also stops after I press Enter.
I did all the steps and the bot is still running! But i cant send slash commands, because the bot doesnt reply or react!
Dear Tim
Application token? Hint: hit control+c anytime to enter REPL.
(node:313) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use node --trace-warnings ...
to show where the warning was created)
(To exit, press Ctrl+C again or Ctrl+D or type .exit)
it was working fine few days ago but now its dead nad reisntalling the whole thing doesnot help
whenever i attempt to run /ping, the interaction simply fails :/
Hello !
do i need to let the bot always On after add it to the server ?
because my laptop is not always on and i need to wait 24H till i get the badge
so i need to let the bot on or i just can use the command (/ping) and let it off and wait normally ?
When I run the bot, it works, but it goes offline after and when I try to do /ping again, it just gives me an error message. The only way I can fix it is by rerunning replit and putting in my application token back in, then it only works once again and the issue comes back.
I’m worried that this will prevent me from getting the badge.
hey i got a problem the bot goes offline when i close the tab what should i do should i open the tab for 24 hours straight?!
sss
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.