Post gamestate publicly if human team GM runs command

This commit is contained in:
Cal Corum 2025-02-23 23:20:54 -06:00
parent f8aad38739
commit 9d831a9512

View File

@ -1097,7 +1097,7 @@ class Gameplay(commands.Cog):
this_play = this_game.current_play_or_none(session)
try:
await self.post_play(session, interaction, this_play, full_length=include_lineups)
await self.post_play(session, interaction, this_play, full_length=include_lineups, buffer_message=None if this_game.human_team.gmid != interaction.user.id else 'Posting current play')
except LineupsMissingException as e:
logger.info(f'Could not post full scorebug embed, posting lineups')
ai_team = this_game.away_team if this_game.ai_team == 'away' else this_game.home_team