Endylus / Token-Joiner

Home Page:https://endstore.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord oauth2 token joiner

This project allows adding tokens to servers via bots using the Discord OAuth2 authorization protocol.

Config

  1. Go to Discord developers

A. Create Bot

botCreate

B. Get Secret Code

getScretCode

C. Add Redirects (http://url:port)

addRedirects

D. Enable Intents

Intents

E. Get the Token

getToken

  1. config.json Edit the file to configure the program. An example configuration is as follows:
{
    "inviteUrl": "https://discord.gg/dctoken",
    "bot": {
        "token": "TOKEN",
        "secret": "SECRET_CODE"
    },
    "web": {
        "url": "http://localhost",
        "port": 443
    }
}
  • inviteUrl: Invite link to join the server. For example: https://discord.gg/dctoken, dctoken
  • 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 usually 443

Installation

  1. Install the required packages:
npm install
  1. Run the script:
node .

Disclaimer

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.

Support

If you have any questions, feel free to join my Discord server: https://discord.gg/dctoken