Cleaned up repo and separated both bots into their respective folders

This commit is contained in:
Sid 2023-04-14 15:54:26 +02:00
parent 5414de60ca
commit a9fda1fcb7
3134 changed files with 382980 additions and 31 deletions

26
sidBot-js/node_modules/asynckit/lib/defer.js generated vendored Normal file
View file

@ -0,0 +1,26 @@
module.exports = defer;
/**
* Runs provided function on next iteration of the event loop
*
* @param {function} fn - function to run
*/
function defer(fn)
{
var nextTick = typeof setImmediate == 'function'
? setImmediate
: (
typeof process == 'object' && typeof process.nextTick == 'function'
? process.nextTick
: null
);
if (nextTick)
{
nextTick(fn);
}
else
{
setTimeout(fn, 0);
}
}