Fixed evaluation and added basic deletion following

This commit is contained in:
hydrabolt
2015-10-03 23:13:33 +01:00
parent c60fe26657
commit 4eacab784d
7 changed files with 160 additions and 54 deletions

View File

@@ -9,10 +9,6 @@ counter = 1;
mybot.on("message", function (message) {
console.log("Everyone mentioned? " + message.everyoneMentioned);
if (mybot.user.equals(message.sender)) {
return;
}
if (message.content !== "$$$") {
return;
}
@@ -44,8 +40,6 @@ mybot.on("unknown", function(info){
mybot.on("channelUpdate", function(oldChan, newChan){
console.log(oldChan.topic + " vs " + newChan.topic);
});
mybot.on("startTyping", function(user, channel){