Hello, i'm making a steam trading bot, and i want to login by cellphone.
What i want:
1 - Make a login page in html/php/css
2 - Enter my login details
3 - A instance of the bot will be opened using the provided username and password
4 - It will ask for my steam guard, then i would need to enter steamguard code on my login page.
I've looked through events, and i've found this one that occurs when steam guard is prompted:
client.on("steamGuard", function(domain, callback, lastCodeWrong) {
console.log("Steam Guard code needed from mobile (main bot)");
});
But this ends the program after logging to the console, how can i make for this to wait for the steamguard code?
Thanks.