Bump deps (including d.py 2.5 bump) (#6529)

Co-authored-by: Kowlin <10947836+Kowlin@users.noreply.github.com>
This commit is contained in:
Jakub Kuczys
2025-03-04 23:38:37 +01:00
committed by GitHub
parent 3bf7c64d01
commit 0f4c7b0fe6
7 changed files with 69 additions and 12 deletions

View File

@@ -708,11 +708,19 @@ class Cleanup(commands.Cog):
def check(m):
if m.attachments:
return False
if m.components:
return False
if m.poll:
return False
if m.activity:
return False
ref = m.reference
c = (
m.author.id,
m.content,
[embed.to_dict() for embed in m.embeds],
[sticker.id for sticker in m.stickers],
ref and (ref.type, ref.message_id, ref.channel_id),
)
if c in msgs:
spam.append(m)