aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-29 14:09:39 -0800
committerGravatar MarkKoz <[email protected]>2020-03-22 15:54:44 -0700
commitb020e375a00ed2924ccd9be964326326a3737d4f (patch)
tree449cbd56cbefccd66662d19782998cc0dd833cf6 /tests/base.py
parentHelpChannels: include info about claim cooldowns in available message (diff)
HelpChannels: make category checks direct & efficient
Replace retrieval of all channels of a category with a direct comparison of the categories themselves. In the case of the `on_message` listener, the change enables the check to be done before the lock acquisition. This is because it doesn't rely on the channels in the category to be up to date. In fact, it doesn't even need the category object so it can exit early without needing to wait for the cog to be ready.
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions