interim commit
This commit is contained in:
parent
fb783c293e
commit
3c9d50f09b
|
@ -1,2 +1,3 @@
|
||||||
nbproject/
|
nbproject/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
config/config.json
|
||||||
|
|
6
bot.js
6
bot.js
|
@ -34,3 +34,9 @@ bot.addListener("pm", function(from, message) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
bot.addListener("message", (nick, to, text, message) => {
|
||||||
|
if(!text.startsWith("*")) {
|
||||||
|
console.log("Not for me!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue