mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
Added startTyping and stopTyping
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user