|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|