Skip to content

Commit

Permalink
Merge pull request #3 from joeShuff/js/2-fixdoubleimage
Browse files Browse the repository at this point in the history
remove embed when the game is confirmed and event is sent
  • Loading branch information
joeShuff authored Jan 9, 2025
2 parents 4b9a971 + 9870fc3 commit 41111cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cogs/choose_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ async def confirm(self, interaction: Interaction, button: ui.Button):
if scheduled_event:
await interaction.message.edit(
content=f"Game confirmed! 🎉 Event scheduled: [View Event]({scheduled_event.url})",
view=None
view=None,
embed=None
)
else:
await interaction.message.edit(
Expand Down

0 comments on commit 41111cd

Please sign in to comment.