client.connect();
client.on('message', (channel, tags, message, self) => {
if(self) return;
if(message.toLowerCase() === 'hi') {
client.say(channel, `@${tags.username} peepoHey`);
}
});
with this command he must respond to a specific user
client.connect();
client.on('message', (channel, tags, message, self) => {
if(self) return;
if(message.toLowerCase() === 'hi') {
client.say(channel, `@${tags.username} peepoHey`);
}
});
with this command he must respond to a specific user