1.1.0 • Published 3 years ago

discord-password-login v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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.