document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. const SteamUser = require(\'steam-user\');
  2. const SteamTotp = require(\'steam-totp\');
  3. const config = require(\'./config\');
  4.  
  5. const client = new SteamUser();
  6.  
  7. const logInOptions = {
  8.     accountName: config.accountName,
  9.     password: config.password,
  10.     twoFactorCode: SteamTotp.generateAuthCode(config.SharedSecret)
  11. };
  12.  
  13. client.logOn(logInOptions);
  14.  
  15. client.on(\'loggedOn\',() => {
  16.     console.log(\'logged on successfully {Image Address 101010}\');
  17.     console.log(\'CTRL + C to shutdown\');
  18.  
  19.     client.setPersona(SteamUser.EPersonaState.Online);
  20.     client.gamesPlayed("730");
  21. });
  22.  
  23. client.on(\'friendMessage\' , function(steamID , message) {
  24.     if(message == "Hi"){
  25.         client.chatMessage(steamID , "hello");
  26.     }
  27.  
  28.     if(message == "hi"){
  29.         client.chatMessage(steamID , "hello");
  30.     }
  31.  
  32.     if(message == "Lmao"){
  33.         client.chatMessage(steamID , "LmaoXD");
  34.     }
  35.        
  36. })
');