fixing typo

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

View File

@ -266,32 +266,17 @@ class ReginaldCog(commands.Cog):
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}",
{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}"
",
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) return random.choice(reginald_responses)
def extract_topics_from_summary(self, summary): def extract_topics_from_summary(self, summary):
"""Dynamically extracts the most important topics from a summary.""" """Dynamically extracts the most important topics from a summary."""