aboutsummaryrefslogtreecommitdiffstats
path: root/tests/_autospec.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2021-01-03 11:21:13 -0800
committerGravatar MarkKoz <[email protected]>2021-01-04 23:19:55 -0800
commit0d330d7470a97660e91280979d064983f7716ecf (patch)
treea8836312da211c37fb8261e7341aa3272f9a3092 /tests/_autospec.py
parentHelpChannels: await init task at the start of event listeners (diff)
HelpChannels: prevent user from claiming multiple channels quickly
It's conceivable for a user to be able to quickly send a message in all available channels before the code has a chance to add the cooldown role. Place a lock on the author to prevent the claim code from running multiple times for the same user.
Diffstat (limited to 'tests/_autospec.py')
0 files changed, 0 insertions, 0 deletions