diff options
| author | 2021-06-30 17:00:47 +0200 | |
|---|---|---|
| committer | 2021-07-01 01:16:25 +0200 | |
| commit | 605768d14d450dd46057c19560599bbbf0d8d597 (patch) | |
| tree | d1eebf751f1ed2c56814d344964b97ac893f13c4 /tests | |
| parent | Base functionality of tag fetching with groups and in file metadata (diff) | |
Move cooldown handling to the Tag class
Instead of the Cog keeping track of cooldowns of all tags, every tag
now handles its own cooldowns which are registered with the `set_cooldown_for`
method.
This change also fixes the bug where cooldowns can only be on cooldown in only
one channel at a time, with invokations in other places cancelling cooldowns.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions