From 1193e1877c90abfedaa1a7d9f448ba61b9d80e34 Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Sat, 10 Aug 2024 20:34:22 +0700 Subject: [PATCH] Update chatbot_ai.py --- misskaty/plugins/chatbot_ai.py | 1 + 1 file changed, 1 insertion(+) diff --git a/misskaty/plugins/chatbot_ai.py b/misskaty/plugins/chatbot_ai.py index 0780cd23..0fb66edf 100644 --- a/misskaty/plugins/chatbot_ai.py +++ b/misskaty/plugins/chatbot_ai.py @@ -103,6 +103,7 @@ async def gpt4_chatbot(self, ctx: Message, strings): } response = await fetch.post("https://duckduckgo.com/duckchat/v1/chat", headers=headers, json=data) if response.status_code != 200: + self.log.info(response.text) return await msg.edit_msg(f"ERROR: Status Code {response.status_code}") messages = [] for line in response.text.splitlines():