Jump to content
McKay Development

BOT doesn't read event


Voltz

Recommended Posts

So I'm working on a BOT I don't know what I'm going to do with it currently in this stage I have it as an idle bot with a configuration file and I've been working on trying to get it to respond whenever Solomon messages it with the response message and for some reason the bot doesn't even acknowledge the event. I tried using this from another post:

client.on("friendMessage", function(steamID, message) {
		console.log("Friend message from " + steamID+ ": " + message);
		client.chatMessage(steamID, config.response);
});
}

and the bot doesn't reply at all or even log that it got sent a message

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...