diff options
| author | 2021-01-03 10:58:16 -0800 | |
|---|---|---|
| committer | 2021-01-04 23:19:51 -0800 | |
| commit | 4dad590ef87a3e67e82b3a43a2ab113efa86abbe (patch) | |
| tree | 0bce3f99da41a456e899a0619ba50269715584aa /tests/test_helpers.py | |
| parent | Merge pull request #1340 from python-discord/ks123/raw-fix (diff) | |
HelpChannels: use a more accurate lock for messages
Use the `lock_arg` decorator to keep a separate lock for each channel
rather than a single lock used by all messages. Separate the core logic
in `on_message` into a separate function to facilitate the use of
`lock_arg` - not everything in `on_message` needs to be under the lock.
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions