@ -24,5 +24,8 @@ class UnknownCommandPlugin(Plugin):
return False
query = " ".join(words[:-1])
if not query.endswith("."):
query += "."
query += "\n\n"
self.gpt3_plugin.reply(query, event.target)
return True
@ -24,7 +24,8 @@ class UnknownQuestionPlugin(Plugin):
if message is None:
if self.gpt3_plugin:
if self.gpt3_plugin and message.endswith(self.config["question_mark"]):
message += "\n\n"
return self.gpt3_plugin.reply(message, event.target)
else:
return self.classic_reply(event)