mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
Update makeprompt.py
This commit is contained in:
@@ -91,7 +91,7 @@ async def process(self, message):
|
||||
content = content.replace(mention, f"{user.name}#{user.discriminator}:<@{uid}>")
|
||||
content = content + "\nSYSTEM: Mentions have been replaced with name#discriminator:id. Botator uses only the mention, not the name or the discriminator. The discriminator is only used to prevent name clashes."
|
||||
if content.endswith("\n*Images from unsplash.com*"):
|
||||
content = content.replace("\n*Images from unsplash.com*", "[image:here was an image]")
|
||||
content = content.replace("\n*Images from unsplash.com*", "")
|
||||
gmt_time = message.created_at.strftime("%Y-%m-%d %H:%M:%S")
|
||||
u_prompt += f"{msg.author} ({gmt_time} GMT-0): {content}\n"
|
||||
print(pretend_enabled)
|
||||
|
||||
Reference in New Issue
Block a user