Skip to content

Commit

Permalink
added await
Browse files Browse the repository at this point in the history
  • Loading branch information
Timpe Hoerig authored and Timpe Hoerig committed Jul 10, 2023
1 parent 655a0fd commit c592c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ async def on_accept(
)
embed = accept_interaction.message.embeds[0]
embed = embed.set_footer(text=f"Accepted by {accept_interaction.user.nick}")
invite = channel.create_invite(max_age=120, max_uses=2)
invite = await channel.create_invite(max_age=120, max_uses=2)
await request_interaction.user.send(
support_request_accepted(request_interaction.user.nick, invite)
)
Expand Down

0 comments on commit c592c6d

Please sign in to comment.