change: prettier code

This commit is contained in:
Skillz4Killz
2021-10-12 18:59:36 +00:00
committed by GitHub Action
parent f3b818491a
commit 1734cb3bcd

View File

@@ -20,7 +20,7 @@ export function processQueue(rest: RestManager, id: string) {
// ONLY ADD TIMEOUT IF ANOTHER QUEUE IS NOT PENDING
if (!queue.isWaiting) {
queue.isWaiting = true;
setTimeout(() => {
rest.debug(`[REST - processQueue] rate limited, running setTimeout.`);
rest.processQueue(rest, id);