discord-authorize
Version:
A node module for easy authentication with Discord
10 lines • 326 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.email = void 0;
const getInfo_1 = require("./getInfo");
async function email(accessToken) {
const userInfo = await (0, getInfo_1.getInfo)(accessToken);
return userInfo.email;
}
exports.email = email;
//# sourceMappingURL=email.js.map