import { processRateLimitedPaths } from "https://dotland.deno.dev/x/discordeno@18.0.1/rest/processRateLimitedPaths.ts";
This will create a infinite loop running in 1 seconds using tail recursion to keep rate limits clean. When a rate limit resets, this will remove it so the queue can proceed.
Parameters
rest: RestManager