mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Piss off
This commit is contained in:
parent
7217965192
commit
2c0d04da13
1 changed files with 2 additions and 4 deletions
|
@ -895,10 +895,8 @@ class OtherCog(commands.Cog):
|
|||
await ctx.defer()
|
||||
from urllib.parse import parse_qs
|
||||
|
||||
MAX_SIZE_MB = ctx.guild.filesize_limit / 1024 / 1024
|
||||
if MAX_SIZE_MB == 8.0:
|
||||
MAX_SIZE_MB = 20
|
||||
REAL_MAX_SIZE_MB = MAX_SIZE_MB
|
||||
REAL_MAX_SIZE_MB = 25
|
||||
if disable_filesize_buffer is False:
|
||||
MAX_SIZE_MB *= 0.8
|
||||
BYTES_REMAINING = (MAX_SIZE_MB - 0.256) * 1024 * 1024
|
||||
|
|
Loading…
Reference in a new issue