I have a code inside my bot, but I didn't catch the case with dead proxy or losing connect, I have also autoRelogin true, but sometimes I lose connect and it tried to work without login and throwing error in creating new offer Not Logged In. Someone has an idea?
let user = new SteamUser({ httpProxy: `http://${proxy.proxy}`, autoRelogin: true });
user.on("webSession", (sessionID, cookies) => {
manager.setCookies(cookies,async (err) => {
if (err) {
// catch
}
});
community.setCookies(cookies);
});