This project allows adding tokens to servers via bots using the Discord OAuth2 authorization protocol.
- Go to Discord developers
A. Create Bot
B. Get Secret Code
C. Add Redirects (http://url:port)
D. Enable Intents
E. Get the Token
config.json
Edit the file to configure the program. An example configuration is as follows:
{
"inviteUrl": "https://discord.gg/tokenverse",
"bot": {
"token": "TOKEN",
"secret": "SECRET_CODE"
},
"web": {
"url": "http://localhost",
"port": 443
}
}
inviteUrl
: Invite link to join the server. For example:https://discord.gg/tokenverse
,tokenverse
bot.token
: Your Discord bot's token.bot.secret
: Your Discord bot's secret code.web.url
: The web address where the program will run. For example:http://localhost
.web.port
: The port number on which the program will run. The recommended value is usually443
- Install Node.js - Download
- Install the required packages:
npm install
- Run the script:
node .
No responsibility is accepted for any issues arising from the use of this project and its content. The project is the responsibility of users to configure and use on their own systems. Users should take necessary precautions and follow configuration instructions correctly before using the project.
If you have any questions, feel free to join my Discord server: https://discord.gg/tokenverse