|
|
@ -26,9 +26,10 @@ class UnknownQuestionPlugin(Plugin):
|
|
|
|
|
|
|
|
|
|
|
|
if self.gpt3_plugin and message.endswith(self.config["question_mark"]):
|
|
|
|
if self.gpt3_plugin and message.endswith(self.config["question_mark"]):
|
|
|
|
message += "\n\n"
|
|
|
|
message += "\n\n"
|
|
|
|
return self.gpt3_plugin.reply(message, event.target)
|
|
|
|
self.gpt3_plugin.reply(message, event.target)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
return self.classic_reply(event)
|
|
|
|
self.classic_reply(event)
|
|
|
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
|
def classic_reply(self, event):
|
|
|
|
def classic_reply(self, event):
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|