Jump to content
McKay Development


  • Posts

  • Joined

  • Last visited

RedyyPT's Achievements

  1. For example, I'm trying something to do when someone does the "!members" command that shows how many members I have in my group Code: client.on("friendMessage", function(steamID, message) {if (message == "!membros"){client.chatMessage(steamID, "O nosso grupo tem neste momento:"); steamgroup.getstats("Chead-CSGO-Community", function(err, totalmembers){ })}}); Is it right? is that when I give the command "!members" only the message appears and not the members
  2. community.postUserComment(steam, ':metallove: sɪɢɴᴇᴅ ʙʏ ʀᴇᴅᴅʏ sɪɢɴᴇᴅ ʙʏ ʀᴇᴅᴅʏ , ғᴜɴᴅᴀᴅᴏʀ ᴅᴀ ᴄᴏᴍᴜɴɪᴅᴀᴅᴇ ᴄʜᴇᴀᴅᴄᴏᴍᴍᴜɴɪᴛʏ :metallove:') ^ ReferenceError: community is not defined at SteamUser.<anonymous> (/root/bot/bot.js:275:9) at SteamUser.emit (events.js:187:15) at SteamUser._emitIdEvent (/root/bot/node_modules/steam-user/components/utility.js:29:12) at SteamUser._handlers.(anonymous function) (/root/bot/node_modules/steam-user/components/chat.js:281:9) at SteamUser._handleMessage (/root/bot/node_modules/steam-user/components/messages.js:249:30) at CMClient.emit (events.js:182:13) at CMClient._netMsgReceived (/root/bot/node_modules/steam-client/lib/cm_client.js:323:8) at CMClient.handlers.(anonymous function) (/root/bot/node_modules/steam-client/lib/cm_client.js:603:8) at CMClient._netMsgReceived (/root/bot/node_modules/steam-client/lib/cm_client.js:305:24) at TCPConnection.emit (events.js:182:13) config bot: client.on("friendMessage", function(steam, message) { if (message == "!assinar") { client.chatMessage(steam, "O Teu perfil agora está assinado por mim. Aproveita") community.postUserComment(steam, ':metallove: sɪɢɴᴇᴅ ʙʏ ʀᴇᴅᴅʏ , ғᴜɴᴅᴀᴅᴏʀ ᴅᴀ ᴄᴏᴍᴜɴɪᴅᴀᴅᴇ ᴄʜᴇᴀᴅᴄᴏᴍᴍᴜɴɪᴛʏ :metallove:')}})
  3. How do I do for a person when they execute the "!Sign" command, does my bot sign their profile?
  4. Whats wrong? });^ SyntaxError: Unexpected token } at new Script (vm.js:74:7) at createScript (vm.js:246:10) at Object.runInThisContext (vm.js:298:10) at Module._compile (internal/modules/cjs/loader.js:657:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) at startup (internal/bootstrap/node.js:266:19) Config bot: var random = ['Digita !comandos para veres todos os comandos', 'Queres salas permanentes e gratis? Digita !ts', 'Digita !vip para veres os preços dos vips', 'Ajuda a cheadcm a chegar aos 4k membros , digita !grupo', ]; client.setPersona(SteamUser.Steam.EPersonaState.Online), sleep.sleep(2),setInterval(function random1() { var randomnumber = Math.floor(Math.random() * (random.length)); client.gamesPlayed([random[randomnumber], 668630, 20710, 200170, 504370, 431960, 207140, 368730, 484830, 356890, 262450, 210770, 730, 753, 466240, 602890, 526740, 238320, 610360, 433850, 428430, 361420, 359550, 242760, 12100, 12110, 581510, 431240, 422870, 716110, 718370, 365670, 479130, 448470, 533300, 485310,]);}, 180000); //3min'Digita !comandos para veres todos os comandos', 'Queres salas permanentes e gratis? Digita !ts', });
  5. How do I get the timer here? client.logOn(logOnOptions); client.on('loggedOn', () => {console.log('login feito com sucesso');client.setPersona(SteamUser.Steam.EPersonaState.Online);client.gamesPlayed(["Digita !comandos para veres todos os comandos",10,730,440,570]);});
  6. how i can do this? XD
  7. How do I get multiple custom games at the same time? for example, I put in the bot a custom game to say "hello" and after 5 seconds it changes to another custom game How can I do it? Goal: I have a custom game on my bot to say "do! Commands to see all commands" and wanted to past 5 seconds to switch to another
  • Create New...