diff --git a/code/cogs/chat.py b/code/cogs/chat.py index 6b33211..18a6a1e 100644 --- a/code/cogs/chat.py +++ b/code/cogs/chat.py @@ -99,7 +99,7 @@ async def on_message_process(message, self): #get the user user = await self.bot.fetch_user(id) #replace the mention with the name - msg.content = msg.content.replace(mention, msg.guild.get_member(user.id).display_name + f"[user id (for mentions): {id}]") + msg.content = msg.content.replace(mention, msg.guild.get_member(user.id).display_name + f"<@{id}>") prompt += f"{msg.author.display_name}: {msg.content}\n" #get the prompt_prefix from the database #check if the bot is in pretend mode