From 1af2a9178104d881122985db833f41f5b30b262c Mon Sep 17 00:00:00 2001 From: squiddy Date: Sun, 28 Jan 2024 00:58:52 +0800 Subject: [PATCH] add defer --- bot/src/cogs/projects.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/src/cogs/projects.py b/bot/src/cogs/projects.py index 2ce68e9..31b7c08 100644 --- a/bot/src/cogs/projects.py +++ b/bot/src/cogs/projects.py @@ -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)