Or:
1. Download Github Code
https://github.com/Snipeur060/active-developper-badge-discord/archive/refs/heads/main.zip
2. Create application in discord Developer portal
https://discord.com/developers/applications/
3. Click on the App and create bot
Application --> Bot --> Add bot
4. Get token of the bot
5. Go to your host
6. You need to use node.js V16 absolutely
7. Startup command
if [ -f /home/container/package.json ]; then /usr/local/bin/npm install; fi; /usr/local/bin/node /home/container/server.js
8. Change token and prefix
server.js
9. Now start the bot and
10. Execute this command
++create
11. The bot create the application command
/infos
If error : You need to give privilege application.command
Take the id of your bot and replace IDHERE by the id of your bot
https://canary.discord.com/api/oauth2/authorize?client_id=IDHERE&permissions=2147486888&scope=applications.commands%20bot
12. And now is good you just need to wait 24 hours and claim the badge
Technologies used in the project:
- Discord.js
- Node.js
- Discord Api
This project is licensed under the Apache License 2.0
Discord support