From be41443d3ee7e3033b82da97dda3e2f1f18a4d63 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Sat, 25 Feb 2023 18:37:11 -0600 Subject: [PATCH] Update gameplay.py --- cogs/gameplay.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/cogs/gameplay.py b/cogs/gameplay.py index 550de48..a054f9a 100644 --- a/cogs/gameplay.py +++ b/cogs/gameplay.py @@ -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')