Skip to content

Commit 15b24f5

Browse files
authored
png instead of jpg (#400)
1 parent c9cc7cb commit 15b24f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/discord/discord.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func userFromReader(r io.Reader, user *goth.User) error {
181181
// Introduced by : Yyewolf
182182

183183
if u.AvatarID != "" {
184-
avatarExtension := ".jpg"
184+
avatarExtension := ".png"
185185
prefix := "a_"
186186
if len(u.AvatarID) >= len(prefix) && u.AvatarID[0:len(prefix)] == prefix {
187187
avatarExtension = ".gif"

0 commit comments

Comments
 (0)