Update chat.py

This commit is contained in:
Paillat
2022-12-19 20:39:20 +01:00
parent 5978bd400e
commit 403d3683e8

View File

@@ -199,7 +199,7 @@ async def on_message_process(message: discord.Message, self: Chat):
#prompt += "Botator:"
#get the actual time in a variable
now = datetime.now()
print(now)
print(now+"hello1234567890")
print(str(now.strftime("%Y-%m-%d %H:%M:%S")))
#add the time to the prompt in the strftime("%Y-%m-%d %H:%M:%S") format
prompt = prompt + f"{self.bot.user.name} ({now.strftime('%Y-%m-%d %H:%M:%S')}):"