Update gameplay.py

This commit is contained in:
Cal Corum 2023-02-25 18:39:17 -06:00
parent e8e3727aae
commit 5a03e39e9a

View File

@ -379,7 +379,7 @@ class Gameplay(commands.Cog):
post_lineups(all_lineups)
try:
await interaction.edit_original_message(content=None, embed=await self.get_game_state_embed(this_game))
await interaction.edit_original_response(content=None, embed=await self.get_game_state_embed(this_game))
except IntegrityError as e:
logging.info(f'Unable to pull game_state for game_id {this_game.id} until both lineups are in: {e}')
await interaction.response.send_message(f'Game state will be posted once both lineups are in')