diff --git a/bot.py b/bot.py index 70aee67a..5576a951 100644 --- a/bot.py +++ b/bot.py @@ -808,7 +808,7 @@ async def interaction_check(self: Self, interaction: discord.Interaction) -> boo """ # Since we can't do it anywhere else, log slash command here - await self.slash_command_log(interaction) + asyncio.create_task(self.slash_command_log(interaction)) await self.logger.send_log( message="Checking if slash command can run", diff --git a/changelog.md b/changelog.md index 4437ac4f..76033bef 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,7 @@ Changes since 2026.06.04 - Add property to make application commands always enabled regardless of guild config - Adds a docker ignore file to slim down the size of the docker container - Make the check-format make task run the same CI as is run on GitHub +- Logs app commands as a background task, to hopefully speed up response times # Modules