Fix: Improve error message for Teto AI conversation failure
Update the error message sent to the channel when the Teto AI conversation fails to be more user-friendly and informative.
This commit is contained in:
parent
7eb0180dce
commit
4562b4b02f
@ -367,7 +367,7 @@ class TetoCog(commands.Cog):
|
||||
_teto_conversations[convo_key] = convo[-10:] # Keep last 10 interactions
|
||||
log.info("[TETO DEBUG] AI reply sent successfully.")
|
||||
except Exception as e:
|
||||
await channel.send(f"Teto AI conversation failed: {e} desu~")
|
||||
await channel.send(f"**Teto AI conversation failed! TwT**\n {e}")@
|
||||
log.error(f"[TETO DEBUG] Exception during AI reply: {e}")
|
||||
|
||||
@app_commands.command(name="set_ai_model", description="Sets the AI model for Teto.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user