diff options
-rw-r--r-- | bot/exts/utils/snekio.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/exts/utils/snekio.py b/bot/exts/utils/snekio.py index 7c5fba648..a7f84a241 100644 --- a/bot/exts/utils/snekio.py +++ b/bot/exts/utils/snekio.py @@ -8,8 +8,9 @@ from pathlib import Path from discord import File -# Note discord upload limit is 8 MB, or 50 MB for lvl 2 boosted servers -FILE_SIZE_LIMIT = 8 * 1024 * 1024 # 8 MiB +# Note discord bot upload limit is 8 MiB per file, +# or 50 MiB for lvl 2 boosted servers +FILE_SIZE_LIMIT = 8 * 1024 * 1024 def sizeof_fmt(num: int, suffix: str = "B") -> str: |