mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
I need to stop copying and pasting
This commit is contained in:
parent
17ba048aaf
commit
2eb3494d99
1 changed files with 1 additions and 1 deletions
|
@ -1293,7 +1293,7 @@ class OtherCog(commands.Cog):
|
|||
else:
|
||||
file = target
|
||||
st = file.stat().st_size
|
||||
if st / 1024 / 1024 <= MAX_SIZE_MB and or st < BYTES_REMAINING:
|
||||
if st / 1024 / 1024 <= MAX_SIZE_MB and st < BYTES_REMAINING:
|
||||
files.append(discord.File(file, file.name))
|
||||
BYTES_REMAINING -= st
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue