Skip to content

Commit ce88413

Browse files
authored
fix(guild): decrease default filesize limit back to 10MB (#1272)
1 parent d0abe30 commit ce88413

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

changelog/1272.misc.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Decrease the default :attr:`Guild.filesize_limit` from 25MB to 10MB.

disnake/guild.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,9 @@ class Guild(Hashable):
373373
)
374374

375375
_PREMIUM_GUILD_LIMITS: ClassVar[Dict[Optional[int], _GuildLimit]] = {
376-
None: _GuildLimit(emoji=50, stickers=5, bitrate=96e3, filesize=26214400, sounds=8),
377-
0: _GuildLimit(emoji=50, stickers=5, bitrate=96e3, filesize=26214400, sounds=8),
378-
1: _GuildLimit(emoji=100, stickers=15, bitrate=128e3, filesize=26214400, sounds=24),
376+
None: _GuildLimit(emoji=50, stickers=5, bitrate=96e3, filesize=10485760, sounds=8),
377+
0: _GuildLimit(emoji=50, stickers=5, bitrate=96e3, filesize=10485760, sounds=8),
378+
1: _GuildLimit(emoji=100, stickers=15, bitrate=128e3, filesize=10485760, sounds=24),
379379
2: _GuildLimit(emoji=150, stickers=30, bitrate=256e3, filesize=52428800, sounds=36),
380380
3: _GuildLimit(emoji=250, stickers=60, bitrate=384e3, filesize=104857600, sounds=48),
381381
}

0 commit comments

Comments
 (0)