discord-password-login

1.1.0 • Public • Published

discord-password-login

This is a module for getting discord user account token from email and password for those who are too lazy to grab token from the Network tab in devtools.

Usage

Using this module is very simple and easy, here is an example using Eris:

const Eris = require("eris");
const login = require("discord-password-login");
login("user@example.com", "password123").then(token => {
    const client = new Eris(token);
    client.on("ready", () => {
        console.log("I'm ready!");
    });
    client.on("messageCreate", (msg) => {
        console.log("I have recieved a message! %s", msg.content);
    });
    client.connect();
});

Credits

Ecolipsy and his showerthoughts and lazyness to grab token for every time.

/discord-password-login/

    Package Sidebar

    Install

    npm i discord-password-login

    Weekly Downloads

    3

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    1.56 kB

    Total Files

    3

    Last publish

    Collaborators

    • ecolipsy