Update buffer message for ballpark fly

Bolded new pitcher text
This commit is contained in:
Cal Corum 2025-02-03 13:58:51 -06:00
parent 9700a9abd6
commit fc130e6a98
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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