fixed bug where pauseleague didn't work between series
This commit is contained in:
parent
501e96901d
commit
9b9a25f35a
|
@ -2010,7 +2010,7 @@ async def league_day_watcher(channel, league, games_list, filter_url, last = Fal
|
||||||
else:
|
else:
|
||||||
league.active = False
|
league.active = False
|
||||||
|
|
||||||
if league.autoplay == 0 or config()["game_freeze"]: #if number of series to autoplay has been reached
|
if league.autoplay <= 0 or config()["game_freeze"]: #if number of series to autoplay has been reached
|
||||||
if league in active_standings.keys():
|
if league in active_standings.keys():
|
||||||
await active_standings[league].unpin()
|
await active_standings[league].unpin()
|
||||||
active_standings[league] = await channel.send(embed=league.standings_embed())
|
active_standings[league] = await channel.send(embed=league.standings_embed())
|
||||||
|
|
Loading…
Reference in a new issue