Added startTyping and stopTyping

This commit is contained in:
hydrabolt
2015-09-26 22:41:33 +01:00
parent 3094c223ec
commit 5fa7bace10
3 changed files with 93 additions and 9 deletions

View File

@@ -19,13 +19,13 @@ mybot.on("message", function (message) {
var onlineUsers = 0;
mybot.setStatusIdle();
mybot.reply(message, onlineUsers);
mybot.startTyping(message.channel);
setTimeout(function(){
mybot.setStatusOnline();
},5000);
mybot.reply(message, "stopping now k");
mybot.stopTyping(message.channel);
}, 6000);
});
mybot.on("ready", function () {