forked from afspiegeling/NitoriBot
7 lines
167 B
JavaScript
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; |