Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ReferenceError: Client is not defined
- at Object.<anonymous> (C:UsersTheNightKnightDesktopbotbot.js:11:1)
- at Module._compile (internal/modules/cjs/loader.js:721:30)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
- at Module.load (internal/modules/cjs/loader.js:620:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
- at Function.Module._load (internal/modules/cjs/loader.js:552:3)
- at Function.Module.runMain (internal/modules/cjs/loader.js:774:12)
- at executeUserCode (internal/bootstrap/node.js:342:17)
- at startExecution (internal/bootstrap/node.js:276:5)
- at startup (internal/bootstrap/node.js:227:5)
- const SteamUser = require('steam-user');
- const config = require('./config.json');
- socket client = new SteamUser();
- const AccountloginConfig ={
- accountName: config.username,
- password: config.password
- };
- Client.LogOn(AccountloginConfig);
- Client.on('LoggedOn', () => {
- console.log('You have been signed in successfully.');
- });
Add Comment
Please, Sign In to add comment