Skip to content

Commit

Permalink
add defer
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Jan 27, 2024
1 parent 1897037 commit 1af2a91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bot/src/cogs/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ async def link(
),
force: bool = SlashOption(description="Whether to force link even if project already linked", default=False),
) -> None:
await interaction.response.defer()

project_name = project_name.lower().replace(" ", "-")

project = database.get_project(project_name)
Expand Down

0 comments on commit 1af2a91

Please sign in to comment.