diff options
| author | 2020-03-15 20:45:10 +0100 | |
|---|---|---|
| committer | 2020-03-15 20:45:10 +0100 | |
| commit | f686cbacc12e06f3bb2f6586994a57b7410f7df4 (patch) | |
| tree | 191b07862f286c82fb3541206d04b645d6d93dff /bot/constants.py | |
| parent | Merge branch 'master' into seasonal-purge (diff) | |
Deseasonify: remove fragile attr dependency in `seasonal_task`
Importing the bot instance will allow us to safely access
the `wait_until_ready` method without having to make fragile
assumptions about the arguments passed to the decorated method.
Although still not perfect, this feels a lot cleaner and safer than
the previous approach.
Diffstat (limited to 'bot/constants.py')
0 files changed, 0 insertions, 0 deletions