Remove timestamp hash from embed images

main
Elnu 1 year ago
parent 9857504705
commit ef0a38f8a3

@ -248,7 +248,7 @@ pub async fn submit(ctx: Context<'_>, submission: serenity::Attachment) -> Resul
.name(username) .name(username)
.url(format!("https://discord.com/users/{}", author.id)); .url(format!("https://discord.com/users/{}", author.id));
e.set_author(embed_author); e.set_author(embed_author);
e.image(format!("https://{domain}/{n}/{image}#{timestamp}")); e.image(format!("https://{domain}/{n}/{image}"));
if let Some(accent_color) = accent_color { if let Some(accent_color) = accent_color {
e.color(accent_color); e.color(accent_color);
} }

Loading…
Cancel
Save