mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
added parameter for optional stopTypeTime in startTyping
This commit is contained in:
@@ -19,12 +19,7 @@ mybot.on("message", function (message) {
|
||||
|
||||
var onlineUsers = 0;
|
||||
|
||||
mybot.startTyping(message.channel);
|
||||
|
||||
setTimeout(function(){
|
||||
mybot.reply(message, "stopping now k");
|
||||
mybot.stopTyping(message.channel);
|
||||
}, 6000);
|
||||
mybot.startTyping(message.channel, 6000);
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user