Fixing ratelimit warnings #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
[RATELIMIT : main @ 2026-01-05 20:18:36.308] RL bucket depletion detected! Date: Mon, 05 Jan 2026 23:18:36 GMT Reset: 1767655134.002[WARN : main @ 2026-01-05 20:18:36.308] Locking RL mutex (key: [:applications_aid_guilds_gid_commands, "1428047160712368262"]) for 17.858 seconds pre-emptivelyFind a way to only register newly added commands. Previous commands should not load/register.
Fixed by adding
sleep(amount_of_seconds), whereamount_of_secondscan be an Integer, or a Float.https://apidock.com/ruby/v2_5_5/Kernel/sleep!