From fc130e6a987cc48147e38e27f4b8e977ba73a8aa Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Mon, 3 Feb 2025 13:58:51 -0600 Subject: [PATCH] Update buffer message for ballpark fly Bolded new pitcher text --- cogs/gameplay.py | 2 +- in_game/gameplay_queries.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/gameplay.py b/cogs/gameplay.py index ac727e6..53a4b53 100644 --- a/cogs/gameplay.py +++ b/cogs/gameplay.py @@ -1062,7 +1062,7 @@ class Gameplay(commands.Cog): session, interaction, this_play, - buffer_message='Double logged' if this_play.starting_outs + this_play.outs < 3 and ((this_play.on_second and flyball_type == 'b') or (this_play.on_third and flyball_type == 'b?')) else None + buffer_message='Flyball logged' if this_play.starting_outs + this_play.outs < 3 and ((this_play.on_second and flyball_type in ['b', 'ballpark']) or (this_play.on_third and flyball_type == 'b?')) else None ) @group_log.command(name='frame-pitch', description=f'Walk/strikeout split; determined by home plate umpire') diff --git a/in_game/gameplay_queries.py b/in_game/gameplay_queries.py index fc2d7dc..b00257c 100644 --- a/in_game/gameplay_queries.py +++ b/in_game/gameplay_queries.py @@ -999,7 +999,7 @@ def get_pitching_statline(session: Session, this_lineup: Lineup) -> str: )).one() if outs is None: - return '1st Batter Faced' + return '**N E W P I T C H E R**' whole_innings = math.floor(outs / 3) rem_outs = outs % 3