UNPKG

nobloxmmc.js

Version:

A Node.js wrapper for ROBLOX. (original from sentanos)

20 lines (19 loc) 448 B
// Allows user to login with a cookie.json, bypassing the username/password captcha issues. // Includes var relog = require('../util/relog.js') // Args exports.required = ['cookie'] exports.optional = [] var interval var day = 86400000 exports.func = function (args) { // Run relog return relog(args.cookie) .then(function (r) { // Start interval if (!interval) { setInterval(relog, day) } return r }) }