Tupperbox / TupperboxLegacy

A Discord bot created for proxying user messages through webhooks.
MIT License
74 stars 47 forks source link

Automatic resizing of Avatars #47

Closed Kazilii closed 5 years ago

Kazilii commented 5 years ago

To avoid Discords size limit on avatars, Tupperbox should allow any size image and automatically scale it down for the user. Many people either don't know how, or don't have the patience to do this themselves, and this could prove to be a nice quality of life update.

ghost commented 5 years ago

This has been an idea floated for quite some time, the only problem is that while I could resize the image, it'd have to be uploaded somewhere to be permanent, and I don't really want to handle relying on some site to keep the images. If you can think of a workaround I'm all ears, but that's the current state of this suggestion.

Kazilii commented 5 years ago

The solution I used is to send them to a private discord channel as an attachment, and then store the link to said attachment for the Webhooks avatar.