-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: banners can now be uploaded to bots #1197
Conversation
✅ Deploy Preview for dpp-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
forgor to |
…sync calls updated
Converted to draft, need to experiment with file limits as it seems avatars and banners do not have a 256kb constraint. |
No longer draft! |
I found that banners and avatars have no limit for bots? It could possibly be 25MB but Discord doesn't document this and it seems the request times out at anything over 9mb (at least it did for me). I assume it's a combination of can you upload in time and can Discord process it in time to respond, otherwise it throws a malformed HTTP request. So, this PR now removes the limit for avatars and banners. |
This PR adds the ability to add banners to bots. I have also removed the limit imposed on avatars and banners as it seems the 256kb limit isn't true.
Code change checklist