Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const SteamUser = require('steam-user');
- const config = require('./config.json');
- const client = new SteamUser();
- const logOnOptions = {
- accountName: config.username,
- password: config.password
- };
- client.logOn(logOnOptions);
- client.on('loggedOn', () => {
- consle.log('succesfully logged on.');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement