diff --git a/code/cogs/chat.py b/code/cogs/chat.py index 0b7353a..9b3df45 100644 --- a/code/cogs/chat.py +++ b/code/cogs/chat.py @@ -151,7 +151,7 @@ async def on_message_process(message: discord.Message, self: Chat): #get the gmt time the message was sent gmt_time = message.created_at.strftime("%Y-%m-%d %H:%M:%S") print(f"{gmt_time}") - prompt += f"{msg.author.name} ({gmt_time} GMT-0): {msg.content}\n" + prompt += f"{msg.author} ({gmt_time} GMT-0): {msg.content}\n" #get the prompt_prefix from the database #check if the bot is in pretend mode c.execute("SELECT pretend_enabled FROM data WHERE guild_id = ?", (message.guild.id,))