diff --git a/commands/dice/rolls.py b/commands/dice/rolls.py index 1b4139c..d7c619c 100644 --- a/commands/dice/rolls.py +++ b/commands/dice/rolls.py @@ -417,8 +417,6 @@ class DiceRollCommands(commands.Cog): team = await get_user_major_league_team(user_id=interaction.user.id) if team is not None and team.color is not None: color = int(team.color, 16) - if channel_id is not None: - _channel_color_cache[channel_id] = (color, time.time()) return color return EmbedColors.PRIMARY diff --git a/services/standings_service.py b/services/standings_service.py index 7dc8b3d..b2e0eab 100644 --- a/services/standings_service.py +++ b/services/standings_service.py @@ -249,6 +249,7 @@ class StandingsService: ) logger.info(f"Recalculated standings for season {season}") + _standings_cache.pop(season, None) return True except Exception as e: