From c0c24f6cff1e84e7aa6c4137653ee1538218909b Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 1 Feb 2023 12:37:09 +0100 Subject: [PATCH] Update makeprompt.py --- code/makeprompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/makeprompt.py b/code/makeprompt.py index 32582e6..89fd0c5 100644 --- a/code/makeprompt.py +++ b/code/makeprompt.py @@ -55,7 +55,7 @@ async def process(self, message): return if message.content.startswith("-") or message.content.startswith("//"): return - if str(message.user.id) == "646739625661956128": + if str(message.author.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"