mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 07:43:31 -07:00
Use higher resolution for user profile pictures (#685)
This commit is contained in:
parent
9303383662
commit
ac7ebd6f91
|
|
@ -53,7 +53,7 @@ namespace DiscordChatExporter.Core.Discord.Data
|
|||
? "gif"
|
||||
: "png";
|
||||
|
||||
return $"https://cdn.discordapp.com/avatars/{id}/{avatarHash}.{extension}?size=40";
|
||||
return $"https://cdn.discordapp.com/avatars/{id}/{avatarHash}.{extension}?size=128";
|
||||
}
|
||||
|
||||
public static User Parse(JsonElement json)
|
||||
|
|
@ -71,4 +71,4 @@ namespace DiscordChatExporter.Core.Discord.Data
|
|||
return new User(id, isBot, discriminator, name, avatarUrl);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue