diff --git a/Cargo.lock b/Cargo.lock index 05a3464..5335b95 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1437,7 +1437,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "payphone" -version = "4.3.2" +version = "4.3.4" dependencies = [ "async-trait", "axum", diff --git a/Cargo.toml b/Cargo.toml index c9800a9..8696572 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payphone" -version = "4.3.2" +version = "4.3.4" edition = "2024" default-run = "payphone" diff --git a/src/discord/images.rs b/src/discord/images.rs index 9764bbd..c6012f0 100644 --- a/src/discord/images.rs +++ b/src/discord/images.rs @@ -13,7 +13,7 @@ use twilight_model::util::ImageHash; /// [`String`] - The URL of the user's avatar. pub fn get_avatar_url(hash: Option, user_id: u64, discriminator: u64) -> String { if let Some(hash) = hash { - format!("https://cdn.discordapp.com/avatars/{user_id}/{hash}.webp?size=256") + format!("https://cdn.discordapp.com/avatars/{user_id}/{hash}.png?size=256") } else { format!( "https://cdn.discordapp.com/embed/avatars/{}.png?size=256",