Added reply

This commit is contained in:
hydrabolt
2015-08-25 16:38:35 +01:00
parent 5f812f7c90
commit b47d62b151
3 changed files with 32 additions and 4 deletions

View File

@@ -17,7 +17,8 @@ mybot.on("ready", function () {
mybot.on("message", function (msg) {
if(msg.content === "pmme"){
mybot.sendMessage(msg.channel, "You know what "+msg.sender+"? NO");
console.log("yes we found it!");
mybot.reply(msg, "You know what "+msg.sender+"? NO");
}
});