diff options
| author | 2020-03-17 22:53:03 +0100 | |
|---|---|---|
| committer | 2020-03-18 20:14:03 +0100 | |
| commit | ee7a0053b714da8e9b2cf5c66f2a3b3c255cfb6a (patch) | |
| tree | 013c961efaa1cdaa16f7586a91e2b9deb60e4014 /bot/constants.py | |
| parent | Deseasonify: allow `set` to take multi-word args (diff) | |
Deseasonify: keep track of `path` on github files
Since the banner and avatar assets will always have the same filename,
we need their full paths to differentiate between assets of different
seasons. Rather than introducing more complexity to the `pretty_files`
function and deconstructing the download urls, we can just store the
path as provided by the API.
We also now print the `path` instead of showing bools in the status
embed, as just the fact that there is some banner is not enough
information - we want to know which season's banner has been picked
up during refresh.
Diffstat (limited to 'bot/constants.py')
0 files changed, 0 insertions, 0 deletions