Added setting of channel topics

This commit is contained in:
hydrabolt
2015-09-27 17:37:46 +01:00
parent 5559809aff
commit 16d2410450
3 changed files with 83 additions and 1 deletions

View File

@@ -30,6 +30,10 @@ mybot.on("message", function (message) {
mybot.on("ready", function () {
console.log("im ready");
for(var chann of mybot.channels){
mybot.setTopic(chann, "HELLO I AM A BOT BOOP BOOP");
}
});
mybot.on("debug", function(info){