Closed PringlePot closed 3 years ago
Here's what i wanted, you get ratelimited after posting 5 - 6 commands in a minute or so.
Are you adding 5 commands every minute? o.0
Here's what i wanted, you get ratelimited after posting 5 - 6 commands in a minute or so.
Are you adding 5 commands every minute? o.0
I have 8 commands in my bot, they all get added on boot, so because the rate limit only the first 5 get added to the listeners
Retrieving all the registered commands when registering a new one is not really a great solution. A partial solution would be to retrieve and cache global commands on init. This way you can check using the cached collection instead of pulling the commands every time.
Could you check?
using join instead now
Is everything ready to merge?
Yeah should be
Here's what i wanted, you get ratelimited after posting 5 - 6 commands in a minute or so.