From c116ade2b50ad6515e66d6e8b19518d6edaff76e Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 1 Feb 2023 12:33:45 +0100 Subject: [PATCH] Update makeprompt.py --- code/makeprompt.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/makeprompt.py b/code/makeprompt.py index 6451181..32582e6 100644 --- a/code/makeprompt.py +++ b/code/makeprompt.py @@ -55,7 +55,9 @@ async def process(self, message): return if message.content.startswith("-") or message.content.startswith("//"): return - if str(message.user.id) == "646739625661956128": return + if str(message.user.id) == "646739625661956128": + await message.channel.send("The AI is not sure what to say (the response was empty)") + return #check if the message is in the right channel by comparing the channel id of the message with the list of channels "channels" try : original_message = await message.channel.fetch_message(message.reference.message_id) except : original_message = None