We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9cc7cb commit 15b24f5Copy full SHA for 15b24f5
providers/discord/discord.go
@@ -181,7 +181,7 @@ func userFromReader(r io.Reader, user *goth.User) error {
181
// Introduced by : Yyewolf
182
183
if u.AvatarID != "" {
184
- avatarExtension := ".jpg"
+ avatarExtension := ".png"
185
prefix := "a_"
186
if len(u.AvatarID) >= len(prefix) && u.AvatarID[0:len(prefix)] == prefix {
187
avatarExtension = ".gif"
0 commit comments