#Queuing operations with lower priority than usual
5 messages · Page 1 of 1 (latest)
Rate limits and processing api requests is handled by the rest package
By default, all requests are processed sequentially
is there any documentation on changing that? rest package doesn't seem to have anything here https://discord.js.org/#/docs/rest/main/general/welcome. otherwise, any workaround?
Hey, I'd like to be able to schedule some API operations in a way that they don't block new commands from executing. Does Discord.JS use any type of priority queue for that? I'd like it to process commands etc. first, and then doing the scheduled stuff (e.g. processing older messages posted while the bot was offline), so that it doesn't run into rate limiting with responding to commands.