From 310e685670ce1d24095c3b46b9effd307266a4f8 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Thu, 5 Feb 2026 20:23:49 -0600 Subject: [PATCH 1/4] Update format of /cc response --- commands/custom_commands/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/custom_commands/main.py b/commands/custom_commands/main.py index 0b3fb34..fe942c9 100644 --- a/commands/custom_commands/main.py +++ b/commands/custom_commands/main.py @@ -44,7 +44,7 @@ class CustomCommandsCommands(commands.Cog): @logged_command("/cc") async def execute_custom_command(self, interaction: discord.Interaction, name: str): """Execute a custom command.""" - await interaction.response.defer(ephemeral=True) + await interaction.response.defer(ephemeral=False) try: # Execute the command and get response From 9f6db12d5a10e43be6d47a586827203bf9d731a7 Mon Sep 17 00:00:00 2001 From: cal Date: Fri, 6 Feb 2026 02:25:13 +0000 Subject: [PATCH 2/4] Update VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 274b0c2..56c92d5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.29.4 +2.29.5 From 0bc1ebc354b1b623de91bc67c91ea02b6474c1c5 Mon Sep 17 00:00:00 2001 From: cal Date: Fri, 6 Feb 2026 02:26:32 +0000 Subject: [PATCH 3/4] Update VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 56c92d5..274b0c2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.29.5 +2.29.4 From 42b9fa5df23d4f7df639bdcb8217e1b53ee30c0a Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Thu, 5 Feb 2026 20:44:47 -0600 Subject: [PATCH 4/4] Fix /player autocomplete timeout by using current season only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The all_seasons=True parameter causes the API search query to take 15+ seconds, exceeding Discord's 3-second autocomplete timeout. Changed to all_seasons=False to search only the current season, which is fast enough. Users can still access historical players by manually typing the name and using the season parameter in the /player command. Fixes: discord.errors.NotFound 404 (error code: 10062): Unknown interaction 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- commands/players/info.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/commands/players/info.py b/commands/players/info.py index 2ebeba6..b974351 100644 --- a/commands/players/info.py +++ b/commands/players/info.py @@ -31,12 +31,13 @@ async def player_name_autocomplete( return [] try: - # Use the dedicated search endpoint to get matching players across ALL seasons + # Use the dedicated search endpoint to get matching players + # Search current season only for performance (all_seasons=True takes 15+ seconds) # Results are ordered by most recent season first players = await player_service.search_players( current, - limit=50, - all_seasons=True, # Fetch more to ensure 25 unique names + limit=30, + all_seasons=False, # Current season only to stay under 3-second timeout ) # Deduplicate by player name, keeping only the first (most recent) occurrence