STEAM GROUP
St​eamRE St​eamRE
STEAM GROUP
St​eamRE St​eamRE
6
IN-GAME
55
ONLINE
Founded
April 23, 2015
Language
English
All Discussions > node-steam-user > Topic Details
sweg Feb 17, 2016 @ 6:50am
Logout and login on another account
Hello,

I would like to make my bot log out from current account and log in to another.
I guess there must be a very simple way of doing this. Tried the following:

client.logOff();
*then change the details object*
client.logOn();

This does not seem to do the trick. Any hints available. :)?
< >
Showing 1-1 of 1 comments
McKay Feb 17, 2016 @ 10:19am 
I think calling logOff() results in a disconnected or loggedOff event, and when that fires you can call logOn. Check the docs.
< >
Showing 1-1 of 1 comments
Per page: 1530 50

All Discussions > node-steam-user > Topic Details