From 0eaa8c5f017b50be82df93ddd830b48007a8a71b Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 1 Feb 2023 12:33:04 +0100 Subject: [PATCH] Update makeprompt.py --- code/makeprompt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/makeprompt.py b/code/makeprompt.py index 4e0b549..6451181 100644 --- a/code/makeprompt.py +++ b/code/makeprompt.py @@ -55,6 +55,7 @@ async def process(self, message): return if message.content.startswith("-") or message.content.startswith("//"): return + if str(message.user.id) == "646739625661956128": 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 @@ -159,4 +160,4 @@ If a user asks for code, just in the answer replace the place where the code exa else: tts = False await message.channel.send(response, tts=tts) else: - await message.channel.send("The AI is not sure what to say (the response was empty)") \ No newline at end of file + await message.channel.send("The AI is not sure what to say (the response was empty)")