Skip to content

Commit e614461

Browse files
authored
Fix missing "await" (#372)
1 parent e5de246 commit e614461

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/europython_discord/registration

src/europython_discord/registration/cog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def on_submit(self, interaction: discord.Interaction) -> None:
5757
_logger.info(f"Registration attempt: {order=}, {name=}")
5858

5959
# send initial reaction so Discord doesn't drop the interaction after 3 seconds
60-
interaction.response.defer(ephemeral=True, thinking=True)
60+
await interaction.response.defer(ephemeral=True, thinking=True)
6161
tickets = self.pretix_connector.get_tickets(order=order, name=name)
6262

6363
if not tickets:

0 commit comments

Comments
 (0)