diff options
| author | 2020-03-17 23:43:43 +0100 | |
|---|---|---|
| committer | 2020-03-18 20:39:39 +0100 | |
| commit | 11c8da1ebcc589053b82e623c89f2a7fc4ea6a71 (patch) | |
| tree | 8e3de412e580edbbab3edd0847d7d3a0f0065e87 | |
| parent | Deseasonify: refer to bot icons as avatars (diff) | |
Deseasonify: remove excessive info embed information
Previously we were showing the entire queue of coming-up icons. As we're
now showing full paths (rather than just filenames), this creates a lot
of visual clutter that is unnecessary. It's not critical to know in
which order the icons will be cycled, as there's no way for us to affect
it anyway. This list of all available icons is still displayed above.
The information about configured cycle frequency goes in the footer,
if we're cycling.
| -rw-r--r-- | bot/branding.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/bot/branding.py b/bot/branding.py index 426998ec..788b38a2 100644 --- a/bot/branding.py +++ b/bot/branding.py @@ -143,14 +143,8 @@ class BrandingManager(commands.Cog): value=await pretty_files(self.available_icons) or "Unavailable", inline=False, ) - - # Only add information about next-up icons if we're cycling in this season - if len(self.remaining_icons) > 1: - info_embed.add_field( - name=f"Queue (frequency: {Client.icon_cycle_frequency})", - value=await pretty_files(self.remaining_icons) or "Empty", - inline=False, - ) + if len(self.available_icons) > 1 and Client.icon_cycle_frequency: + info_embed.set_footer(text=f"Icon cycle frequency: {Client.icon_cycle_frequency}") return info_embed |