Selecting a server to work on
Logging in is probably not enough. You need to select a server to be able to work on something. Luckily we got you covered!
Getting a server its code
// Dependencies
const { Session } = require('cubed-session');
(async () => {
// Starting a new session
const session = new Session();
// Logging in
await session.login('username', 'password');
const servers = await session.getServers();
console.log(servers);
})()Selecting a server
Last updated