Jump to content
McKay Development

Lobadzip

Member
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi guys! At the moment I'm working on a chat-bot Steam, the essence of which will be giving out things for winning in the game, and all this will happen right in the bot, but I ran into the problem that I can not get data from the user: client.on('friendOrChatMessage', (senderID, message) => { if (message.indexOf("/bet %user number%") == 0){ client.chatMessage(senderID, 'Your bet is: ' + %user number%); } }); where %user number% is the number that the user enters, but I do not know how it can be implemented :C Is it even possible to do this and how? Please help me!
×
×
  • Create New...