mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 17:24:55 +00:00
Update chat.py
This commit is contained in:
@@ -150,8 +150,7 @@ async def on_message_process(message: discord.Message, self: Chat):
|
||||
msg.content = msg.content.replace(mention, user + 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}")
|
||||
print({msg.content})
|
||||
print(msg.content)
|
||||
prompt += f"{msg.author} ({gmt_time} GMT-0): {msg.content}\n"
|
||||
print(prompt)
|
||||
#get the prompt_prefix from the database
|
||||
|
||||
Reference in New Issue
Block a user