diff options
author | 2020-03-31 18:07:28 +0200 | |
---|---|---|
committer | 2020-03-31 18:07:28 +0200 | |
commit | 7a596bd99ae8f3223be60efae610e27044bf2491 (patch) | |
tree | 81e90f71806b6ed9c3fea19ec624f917d6692bf8 /bot/exts/evergreen/branding.py | |
parent | Deseasonify: delegate refresh to dedicated command (diff) |
Deseasonify: `pop` from remaining icons rather than unpack
This should be more readable.
Co-authored-by: MarkKoz <[email protected]>
Diffstat (limited to 'bot/exts/evergreen/branding.py')
-rw-r--r-- | bot/exts/evergreen/branding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py index ab402ae1..421aeef7 100644 --- a/bot/exts/evergreen/branding.py +++ b/bot/exts/evergreen/branding.py @@ -357,7 +357,7 @@ class BrandingManager(commands.Cog): log.info("Reset & shuffle remaining icons") await self._reset_remaining_icons() - next_up, *self.remaining_icons = self.remaining_icons + next_up = self.remaining_icons.pop(0) success = await self.bot.set_icon(next_up.download_url) return success |