Guest User

Untitled

a guest
Dec 23rd, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. ReferenceError: Client is not defined
  2. at Object.<anonymous> (C:UsersTheNightKnightDesktopbotbot.js:11:1)
  3. at Module._compile (internal/modules/cjs/loader.js:721:30)
  4. at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
  5. at Module.load (internal/modules/cjs/loader.js:620:32)
  6. at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
  7. at Function.Module._load (internal/modules/cjs/loader.js:552:3)
  8. at Function.Module.runMain (internal/modules/cjs/loader.js:774:12)
  9. at executeUserCode (internal/bootstrap/node.js:342:17)
  10. at startExecution (internal/bootstrap/node.js:276:5)
  11. at startup (internal/bootstrap/node.js:227:5)
  12.  
  13. const SteamUser = require('steam-user');
  14. const config = require('./config.json');
  15. socket client = new SteamUser();
  16. const AccountloginConfig ={
  17. accountName: config.username,
  18. password: config.password
  19. };
  20. Client.LogOn(AccountloginConfig);
  21. Client.on('LoggedOn', () => {
  22. console.log('You have been signed in successfully.');
  23. });
Add Comment
Please, Sign In to add comment