Files
NitoriBot/src/modules/chatdelay.js
T

8 lines
168 B
JavaScript

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