From d18cf07fd253675ab4299eda5e9872e6645bfdce Mon Sep 17 00:00:00 2001 From: Zach Myers Date: Tue, 1 Oct 2024 08:41:41 -0400 Subject: [PATCH] add top half scoring in final func --- gamedaybot/espn/espn_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gamedaybot/espn/espn_bot.py b/gamedaybot/espn/espn_bot.py index 0acec92..3c346cc 100644 --- a/gamedaybot/espn/espn_bot.py +++ b/gamedaybot/espn/espn_bot.py @@ -193,6 +193,8 @@ def espn_bot(function): # on Tuesday we need to get the scores of last week week = league.current_week - 1 text = "Final " + espn.get_scoreboard_short(league, week=week) + if data["top_half_scoring_scoreboard"]: + text = text + "\n\n" + espn.get_top_half_scoreboard(league, week=week) text = text + "\n\n" + espn.get_trophies(league, week=week) elif function == "get_waiver_report" and swid != '{1}' and espn_s2 != '1': faab = league.settings.faab