Closed PhunStyle closed 7 years ago
it does @PhunStyle
you dont need to ask them to edit it because it automaticly does it @PhunStyle
Are you sure @kessanro ? The code explicitly only differentiates between jpg and gif, not webp/png.
i use similler code and it works for me @PhunStyle
but if you want to allow gift(i dont) you might need to check the documentation https://qeled.github.io/discordie/#/docs/IUser?p=IUser%23registeredAt&_k=furdu7
IUser.avatarURL always returns jpg/gif for me, not transparent webp, even though i have a transparent avatar.
ok discordie does not support transparent images you would either need to make your own lib or use a diffrent one tht might chanche in the future thow @PhunStyle here is a link to my server https://discord.gg/NdsBY6f
Yeah the whole point of this issue was to ask the author of the lib to implement a change to .avatarURL so it does support transparent images...
This can probably be closed now as the dev branch has the above commit.
Awesome, thanks qeled ♥
Hey there,
Was wondering if "fmt" could be changed from jpg to webp to support transparency. Apparently discord stores them in webp now.
https://cdn.discordapp.com/avatars/119807353439649796/8bfbdb5291c55a1ea802302aa4038e6c.jpg
https://cdn.discordapp.com/avatars/119807353439649796/8bfbdb5291c55a1ea802302aa4038e6c.webp
-Phun