Jump to content
McKay Development

Recommended Posts

Posted

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

Posted
^ what he said.

 

paste full code.

 

1. make sure client.setPersona(1)

2. make sure that you're using the right object. eg. client/Client/User/user etc or whatever you named it when you created the object & logged on.

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...