-
Uploading a file of 16643958 bytes using the following code results in file = discord.File(fp=file, filename=name, description=name) # file is a BytesIO
result = await ctx.respond(file=file) According to the Discord File Attachments FAQ the max upload limit is 25mb so I'm a little confused why this would be the case. I have seen someone in the discord.py repo mention using the GCP pre-upload system but I can't seem to find reference to that in py-cord's api docs. Does anyone have an idea why this error is happening with a file smaller than 25mb? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The faq is invalid / outdated. The file limit got lowered to 10 MiB. That's no bug on pycord side. |
Beta Was this translation helpful? Give feedback.
-
Furthermore the issue u link is not discord.py but discord.py-self. Please do not take non-official stuff as reference |
Beta Was this translation helpful? Give feedback.
The faq is invalid / outdated. The file limit got lowered to 10 MiB. That's no bug on pycord side.