Update buffer message for ballpark fly
Bolded new pitcher text
This commit is contained in:
parent
9700a9abd6
commit
fc130e6a98
@ -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')
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user