mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
Update chat.py
This commit is contained in:
@@ -199,7 +199,7 @@ async def on_message_process(message: discord.Message, self: Chat):
|
|||||||
#prompt += "Botator:"
|
#prompt += "Botator:"
|
||||||
#get the actual time in a variable
|
#get the actual time in a variable
|
||||||
now = datetime.now()
|
now = datetime.now()
|
||||||
print(now)
|
print(now+"hello1234567890")
|
||||||
print(str(now.strftime("%Y-%m-%d %H:%M:%S")))
|
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
|
#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')}):"
|
prompt = prompt + f"{self.bot.user.name} ({now.strftime('%Y-%m-%d %H:%M:%S')}):"
|
||||||
|
|||||||
Reference in New Issue
Block a user