Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Adam Molnar commited on
add embed tracking to backup (some messages weren't showing)
Browse files52 unmodified lines5354555657585960616252 unmodified lines for attachment in message.attachments: attachment_url = attachment.url backup_message += f"\nAttachment: {attachment_url}" # check for embeds if message.embeds: for embed in message.embeds: backup_message += f"\nEmbed Title: {embed.title}\nEmbed Description: {embed.description}" dm_message = await lunarflu.send(backup_message)
"""Antispam"""app.py+4