extra explanation for handling file

This commit is contained in:
jenz 2026-02-26 18:04:21 +01:00
parent 5e494cf979
commit 3765d1b008

View File

@ -65,6 +65,7 @@ def process_messages(db):
#EDIT ME
attachment_links = "\n".join([f"https://yourdomain.com/autumn/attachments/{att['_id']}/{att['filename']}" for att in attachments])
report += attachment_links
report += f"\n(if the URL does not work remove everything after /attachments/<ID>/ and then open it and reload browser tab)"
extra = "and files"
report += f""" \nto delete the message {extra} from the system type: "Delete {msg['_id']}". After being processed will your delete command be deleted as well. Remember to manually ban the user if they post problematic content and to also delete the bot report if the content is problematic."""
send_post_message_to_stoat(report)