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