fixing typo

This commit is contained in:
AllfatherHatt 2025-02-25 22:04:42 +01:00
parent 0c9145b792
commit 11cd70be93

View File

@ -265,30 +265,15 @@ class ReginaldCog(commands.Cog):
error_message = f"OpenAI Error: {e}" error_message = f"OpenAI Error: {e}"
print(f"🛠️ DEBUG: {error_message}") # Log error to console print(f"🛠️ DEBUG: {error_message}") # Log error to console
reginald_responses = [ reginald_responses = [
f"Regrettably, I must inform you that I have encountered a bureaucratic obstruction whilst attempting to summarize:\n\n f"Regrettably, I must inform you that I have encountered a bureaucratic obstruction whilst attempting to summarize:\n\n{error_message}",
f"It would seem that a most unfortunate technical hiccup has befallen my faculties in the matter of summarization:\n\n{error_message}",
f"Ah, it appears I have received an urgent memorandum stating that my summarization efforts have been thwarted:\n\n{error_message}",
f"I regret to inform you that my usual eloquence is presently obstructed by an unforeseen complication while summarizing:\n\n{error_message}"
]
{error_message} return random.choice(reginald_responses)
",
f"It would seem that a most unfortunate technical hiccup has befallen my faculties in the matter of summarization:\n\n
{error_message}
",
f"Ah, it appears I have received an urgent memorandum stating that my summarization efforts have been thwarted:\n\n
{error_message}
",
f"I regret to inform you that my usual eloquence is presently obstructed by an unforeseen complication while summarizing:\n\n
{error_message}
"
]
return random.choice(reginald_responses)