From 1d65edf97024c7c19bd74270155648aaf776026d Mon Sep 17 00:00:00 2001 From: Sakimori Date: Wed, 24 Feb 2021 16:12:32 -0500 Subject: [PATCH] removed broken pinning for league standings --- the_prestige.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/the_prestige.py b/the_prestige.py index 74ee121..5d61edd 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -2265,10 +2265,7 @@ async def league_day_watcher(channel, league, games_list, filter_url, last = Fal wait_seconds = (next_start - now).seconds leagues.save_league(league) - if league in active_standings.keys(): - await active_standings[league].unpin() active_standings[league] = await channel.send(embed=league.standings_embed()) - active_standings[league].pin() await channel.send(f"The day {league.day} games for the {league.name} will start in {math.ceil(wait_seconds/60)} minutes.") await asyncio.sleep(wait_seconds) await channel.send(f"A {league.name} series is continuing now at {filter_url}") @@ -2277,10 +2274,7 @@ async def league_day_watcher(channel, league, games_list, filter_url, last = Fal league.active = False if league.autoplay <= 0 or config()["game_freeze"]: #if number of series to autoplay has been reached - if league in active_standings.keys(): - await active_standings[league].unpin() active_standings[league] = await channel.send(embed=league.standings_embed()) - active_standings[league].pin() await channel.send(f"The {league.name} is no longer autoplaying.") if config()["game_freeze"]: await channel.send("Patch incoming.")