Skip to content

Commit

Permalink
lower download size limit to discord limits...
Browse files Browse the repository at this point in the history
The limit seems to be 8MBs but I can indeed send 18MB files which has to mean that it is up to 25, at least while using the `user-bot` interactions?
  • Loading branch information
kytpbs committed Aug 11, 2024
1 parent 9a39085 commit a756858
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pylint: disable=invalid-name # it is normal to have the constants in a file named "Constants.py"
# pylint: disable=invalid-name # it is normal to have the constants in a file named "Constants.py"
BOT_NAME = "O K B A"
SERVER_NAME = "AIKO # उच्च शिक्षा परीक्षा"

Expand All @@ -21,4 +21,6 @@
FUNNY_COLOR = 696969

RESPONSES_FILE = "responses.json"
MAX_VIDEO_DOWNLOAD_SIZE: int = 80 # in MB, do not use anything other than an integer
# default is 25 MB because that is the max file size for discord for now.
# If you want to change this, make sure to check the current max upload limit for discord.
MAX_VIDEO_DOWNLOAD_SIZE: int = 25 # in MB, do not use anything other than an integer

0 comments on commit a756858

Please sign in to comment.