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

@@ -206,6 +206,8 @@ from discord.ext.commands import (
RangeError as RangeError,
parameter as parameter,
HybridCommandError as HybridCommandError,
SoundboardSoundConverter as SoundboardSoundConverter,
SoundboardSoundNotFound as SoundboardSoundNotFound,
)
__all__ = (
@@ -397,4 +399,6 @@ __all__ = (
"RangeError",
"parameter",
"HybridCommandError",
"SoundboardSoundConverter",
"SoundboardSoundNotFound",
)

View File

@@ -162,7 +162,8 @@ class Tunnel(metaclass=TunnelMeta):
"""
files = []
max_size = 26214400
# DEP-WARN
max_size = discord.utils.DEFAULT_FILE_SIZE_LIMIT_BYTES
if m.attachments and sum(a.size for a in m.attachments) <= max_size:
for a in m.attachments:
if images_only and a.height is None: