From 02132c33b47afd082fd2e5f0d482a29f41f34efe Mon Sep 17 00:00:00 2001 From: Kaya <95276965+kytpbs@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:13:43 +0300 Subject: [PATCH] fix a wierd bug I had Seems like things went crazy for some reason... --- src/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.py b/src/client.py index 55e2488..13672ea 100644 --- a/src/client.py +++ b/src/client.py @@ -250,8 +250,8 @@ async def on_message(self, message: discord.Message): time = datetime.now().strftime("%H:%M:") if guild is None: guild = "DM" - data = f'{str(time)} {str(guild)} {str(channel)} {str(user.name)}: {str(message_content)}' - logging.debug(data, message.embeds if len(message.embeds) > 0 else "No embeds") + data = f'{str(guild)} {str(channel)} / {str(user.name)}: {str(message_content)}' + logging.getLogger("chat").debug(data) if message.author == self.user: return