Skip to content

Commit

Permalink
fix: delete duplicate logger
Browse files Browse the repository at this point in the history
  • Loading branch information
FuseFairy committed Jan 15, 2024
1 parent b8f0f6a commit 82082a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cogs/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ async def on_message(self, message: discord.Message):
if message.attachments:
for attachment in message.attachments:
if "image" in attachment.content_type:
logger.info(f"\x1b[31m{username}\x1b[0m : '{content}' ({channel}) [Style: {users_chatbot[user_id].get_conversation_style()}]")
await users_chatbot[user_id].send_message(message=content, image=attachment.url)
else:
await message.channel.send("> **ERROE: This file format is not supported.**")
Expand Down

0 comments on commit 82082a2

Please sign in to comment.