Fix appeal test commands timing out

This commit is contained in:
Codex 2025-06-07 06:14:55 +00:00 committed by Slipstream
parent ba6cf65a3c
commit 2fb91ee1cd
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -1105,6 +1105,8 @@ class AIModerationCog(commands.Cog):
) )
return return
await interaction.response.defer(thinking=True, ephemeral=True)
scenarios = [ scenarios = [
("Warn for spam", "I got excited and posted too many messages."), ("Warn for spam", "I got excited and posted too many messages."),
( (
@ -2704,6 +2706,7 @@ CRITICAL: Do NOT output anything other than the required JSON response.
@app_commands.checks.has_permissions(administrator=True) @app_commands.checks.has_permissions(administrator=True)
async def aidebug_appeal_tests(self, interaction: discord.Interaction): async def aidebug_appeal_tests(self, interaction: discord.Interaction):
"""Run a few hardcoded appeals through the appeal AI for testing.""" """Run a few hardcoded appeals through the appeal AI for testing."""
await interaction.response.defer(thinking=True, ephemeral=True)
scenarios = [ scenarios = [
( (
"WARN", "WARN",