diff --git a/misskaty/plugins/chatbot_ai.py b/misskaty/plugins/chatbot_ai.py
index d4bc03edf0..d396048d50 100644
--- a/misskaty/plugins/chatbot_ai.py
+++ b/misskaty/plugins/chatbot_ai.py
@@ -76,7 +76,7 @@ async def gpt4_chatbot(self, ctx: Message, strings):
if response.status_code != 200:
return await msg.edit_msg(f"ERROR: Status Code {response.json()}")
try:
- await msg.edit_msg(f"{response.json()['choices'][0]['message']['content'].replace('undefined', '')}\n\nPowered by: GPT 4o Mini
")
+ await msg.edit_msg(f"{response.json()['choices'][0]['message']['content']}\n\nPowered by: GPT 4o Mini
")
except Exception as err:
await msg.edit_msg(f"ERROR: {err}")