0.0.1 • Published 1 year ago

discord-login v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Login using different tokens

Example

const Discord = require('discord.js');
const client = new Discord.Client();
const gate = require('discord-login');

// Login your bot in your console.

// (Client, opts)

gate(client, {
    echo: "+", // Optional. (* is the default.)
    token: <Bot Token> // Can be a string or object.
})

Options

echo - Character to echo when every key is pressed. You can add null to make invisible.

token - If string, it will login directly weather a object must contain with name and the token string.

Example

// Create a json file.
{
    "token-1": "Your Shining Token",
    "token-2": "Your Shining Token"
}

• In your main file,

var tokens = require("./tokens.json");

gate(client, {
    token: tokens
})
0.0.1

1 year ago

1.0.7

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago