Remove timestamp hash from embed images
This commit is contained in:
parent
9857504705
commit
ef0a38f8a3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue