Files
NitoriBot/old/chatdelay.js
T
2024-06-15 19:11:07 -04:00

7 lines
167 B
JavaScript

function chatDelay (bot,options, ms){
bot.chatDelay = function delay(ms) {
return new Promise((resolve) => setTimeout(resolve, ms));
}
}
module.exports = chatDelay;