mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +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:
|
else:
|
||||||
file = target
|
file = target
|
||||||
st = file.stat().st_size
|
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))
|
files.append(discord.File(file, file.name))
|
||||||
BYTES_REMAINING -= st
|
BYTES_REMAINING -= st
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue