No, Im just logged in using our bot
class SteamBot {
constructor(logOnOptions) {
this.client = new SteamUser();
this.community = new SteamCommunity();
this.manager = new TradeOfferManager({
steam: this.client,
community: this.community,
language: "en",
});
this.logOn(logOnOptions);
}
logOn(logOnOptions) {
this.client.logOn(logOnOptions);
this.client.on("loggedOn", () => {
console.log("Logged into Steam");
this.client.setPersona(SteamUser.EPersonaState.Online, "Bot-name");
this.client.gamesPlayed(730);
});
this.client.on("webSession", (sessionid, cookies) => {
this.manager.setCookies(cookies);
this.community.setCookies(cookies);
this.community.stopConfirmationChecker();
});
..
.
.
.
.
..
.
const bot = new SteamBot({
accountName: process.env.STEAM_USERNAME,
password: process.env.STEAM_PASSWORD,
twoFactorCode: SteamTotp.generateAuthCode(process.env.SHARE_SECRET),
rememberPassword: true,
});