Update makeprompt.py

This commit is contained in:
Paillat
2023-02-01 12:33:45 +01:00
committed by GitHub
parent 0eaa8c5f01
commit c116ade2b5

View File

@@ -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