Remove discriminator from new images to existing submissions

main
Elnu 2 years ago
parent 6a0a99c193
commit ac7909da8d

@ -125,10 +125,9 @@ pub async fn submit(ctx: Context<'_>, submission: serenity::Attachment) -> Resul
}
requires_rebuild = true;
let file_name = format!(
"{}-{}-{}-{}{}.{}",
"{}-{}-{}{}.{}",
i + 1,
slugify(&author.name),
author.discriminator,
timestamp,
if i == 0 {
"".to_owned()

Loading…
Cancel
Save