aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_base.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-06-08 19:52:46 -0700
committerGravatar MarkKoz <[email protected]>2020-06-08 19:52:46 -0700
commitb49f3e5f4e707dece2de38882be44405563d82e4 (patch)
tree9c0d7d3fd440d5d79fc892ad886ecbd8bf8ca3ad /tests/test_base.py
parentHelp channels: add a function to schedule cooldown expiration (diff)
Help channels: use cache to remove cooldowns or re-schedule them
Using the cache is more efficient since it can check only the users it expects to have a cooldown rather than searching all guild members. Furthermore, re-scheduling the cooldowns ensures members experience the full duration of the cooldown. Previously, all cooldowns were removed, regardless of whether they were expired.
Diffstat (limited to 'tests/test_base.py')
0 files changed, 0 insertions, 0 deletions