Fix: Improve error message formatting in Teto AI conversation
This commit adjusts the formatting of the error message sent when the Teto AI conversation fails. The newline character is now placed before the error message for better readability.
This commit is contained in:
parent
e285ad6ce2
commit
e731cad7ad
@ -193,7 +193,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! TwT**\n {e}")@
|
||||
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