Describe your feature
I tried this earlier:
import { Client } from "stoat.js";
const client = new Client();
client.on("ready", async (e) => console.log(e));
client.login({ email: "foo@bar.com", password: "Password12345" });
Unfortunately, it does not work. One must manually call client.connect() once the promise from login() resolves, which seems to be entirely undocumented. It would be nice if either this was not necessary, or it was documented.
Describe your feature
I tried this earlier:
Unfortunately, it does not work. One must manually call
client.connect()once the promise fromlogin()resolves, which seems to be entirely undocumented. It would be nice if either this was not necessary, or it was documented.