Update ai_manager.py

Add 5+ baserunner note to pitcher fatigue
This commit is contained in:
Cal Corum 2023-04-27 14:39:48 -05:00
parent 3846f8a77a
commit 6cf8782e23

View File

@ -536,7 +536,8 @@ async def pitching_ai_note(this_play: StratPlay, this_pitcher: dict):
else:
if len(used_pitchers) < 8:
ai_note += f'- go to the pen if the pitcher fatigues (`/log ai-pitcher-sub`)\n'
ai_note += f'- go to the pen if the pitcher fatigues **and has allowed 5+ baserunners**' \
f'(`/log ai-pitcher-sub`)\n'
else:
ai_note += f' - continue with {this_pitcher["p_name"]}\n'