Add startTyping()

main
Killian 4 years ago
parent 51d70d21cf
commit a33c0437d5

@ -30,7 +30,7 @@ module.exports = class extends Command {
collector.on(`end`, (reason) => {
if (reason === `idle`) {
message.chat.sendMessage(`the time is out and no one found the number... it was: ${numberToFind}!`)
message.chat.sendMessage(`The time is out and no one found the number... it was: ${numberToFind}!`)
}
});
}

@ -61,6 +61,7 @@ module.exports = class {
tStamps.set(message.authorID, timeNow);
setTimeout(() => tStamps.delete(message.authorID), cdAmount);
message.chat.startTyping({ time: 5000 })
cmd.run(message, args, data);
}
}

@ -1,6 +1,6 @@
{
"name": "instabot",
"version": "1.2.8",
"version": "1.2.9",
"description": "A fully working instagram bot using Insta.js by androz2091",
"main": "index.js",
"scripts": {

Loading…
Cancel
Save