From 83b444a3bf15dd1e8842c438a4aac3685e3608a1 Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 19 Dec 2022 20:16:00 +0100 Subject: [PATCH] Update chat.py --- code/cogs/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/cogs/chat.py b/code/cogs/chat.py index d3ba5c7..0b7353a 100644 --- a/code/cogs/chat.py +++ b/code/cogs/chat.py @@ -147,7 +147,7 @@ async def on_message_process(message: discord.Message, self: Chat): #get the user user = await self.bot.fetch_user(id) #replace the mention with the name - msg.content = msg.content.replace(mention, user.name+ f"<@{id}>") + msg.content = msg.content.replace(mention, user.name + f"<@{id}>") #get the gmt time the message was sent gmt_time = message.created_at.strftime("%Y-%m-%d %H:%M:%S") print(f"{gmt_time}")