I need some help with my bot.. so here is my problem.. I tried making an if statement like this:
client.on('friendMessage', function (steamID, message) {
if(steamID == '765611......'){
client.chatMessage(steamID, 'Working...');
} else {
client.chatMessage(steamID, 'You are not my master!');
}
});
But everytime i send the bot something it sends "Working..." but i want it to only respond with a command like !help or !test Any help or suggestions would be helpful.