From c7826115b56fb5796ee1f3f09fc8f8353cf8cc85 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Wed, 18 Oct 2023 14:17:21 -0700 Subject: [PATCH] Defer to avoid timing out on /trackdays --- app/cogs/actual_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/cogs/actual_utils.py b/app/cogs/actual_utils.py index ef2b0546..d2a5bfdd 100644 --- a/app/cogs/actual_utils.py +++ b/app/cogs/actual_utils.py @@ -147,7 +147,8 @@ class ActualUtils(commands.Cog): embed.add_field( name="Event URL", value=track_day["event_url"], inline=False ) - await ctx.respond(embed=embed) + await ctx.defer() + await ctx.send_followup(embed=embed) @commands.slash_command( guild_ids=None,