dont look at bot images now
This commit is contained in:
parent
0b358ac0b9
commit
37677acd08
1 changed files with 1 additions and 1 deletions
|
|
@ -646,7 +646,7 @@ class ChatGPT(commands.Cog):
|
||||||
|
|
||||||
async def log_chat_and_get_history(self, message, logfile, channel_vars):
|
async def log_chat_and_get_history(self, message, logfile, channel_vars):
|
||||||
log_line = ''
|
log_line = ''
|
||||||
if message.attachments and channel_vars.get("log_images", False):
|
if message.attachments and channel_vars.get("log_images", False) and not message.author.bot:
|
||||||
#log_image MUST BE ADDED TO THE JSON FILES
|
#log_image MUST BE ADDED TO THE JSON FILES
|
||||||
for attachment in message.attachments:
|
for attachment in message.attachments:
|
||||||
image_description = await self.view_image(attachment.url)
|
image_description = await self.view_image(attachment.url)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue