Code Monkey home page Code Monkey logo

token-joiner's Introduction

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

token-joiner's People

Contributors

endylus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

baroer jessia00

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.