Update gameplay.py
This commit is contained in:
parent
583873bb78
commit
be41443d3e
@ -1060,20 +1060,20 @@ class Gameplay(commands.Cog):
|
||||
away_role = await team_role(interaction, away_team)
|
||||
home_role = await team_role(interaction, home_team)
|
||||
|
||||
await interaction.edit_original_response(
|
||||
content=f'I\'m getting bullpen data from '
|
||||
f'{away_team["gmname"] if away_team["is_ai"] else home_team["gmname"]}...'
|
||||
)
|
||||
this_pen = get_or_create_bullpen(ai_team, self.bot)
|
||||
if None in [this_pen.closer_id, this_pen.setup_id, this_pen.middle_one_id, this_pen.middle_two_id,
|
||||
this_pen.middle_three_id]:
|
||||
await interaction.edit_original_response(
|
||||
content=f'Looks like the {ai_team["sname"]} bullpen didn\'t come through clearly. I\'ll sort '
|
||||
f'this out with {ai_team["gmname"]} and {get_cal_user(interaction).mention}. I\'ll end '
|
||||
f'this game - why don\'t you play against somebody else for now?'
|
||||
)
|
||||
patch_game(this_game.id, active=False)
|
||||
return
|
||||
# await interaction.edit_original_response(
|
||||
# content=f'I\'m getting bullpen data from '
|
||||
# f'{away_team["gmname"] if away_team["is_ai"] else home_team["gmname"]}...'
|
||||
# )
|
||||
# this_pen = get_or_create_bullpen(ai_team, self.bot)
|
||||
# if None in [this_pen.closer_id, this_pen.setup_id, this_pen.middle_one_id, this_pen.middle_two_id,
|
||||
# this_pen.middle_three_id]:
|
||||
# await interaction.edit_original_response(
|
||||
# content=f'Looks like the {ai_team["sname"]} bullpen didn\'t come through clearly. I\'ll sort '
|
||||
# f'this out with {ai_team["gmname"]} and {get_cal_user(interaction).mention}. I\'ll end '
|
||||
# f'this game - why don\'t you play against somebody else for now?'
|
||||
# )
|
||||
# patch_game(this_game.id, active=False)
|
||||
# return
|
||||
|
||||
try:
|
||||
# view = Confirm(responders=[interaction.user], timeout=60, label_type='yes')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user