Remove discriminator from new images to existing submissions
This commit is contained in:
parent
6a0a99c193
commit
ac7909da8d
1 changed files with 1 additions and 2 deletions
|
@ -125,10 +125,9 @@ pub async fn submit(ctx: Context<'_>, submission: serenity::Attachment) -> Resul
|
||||||
}
|
}
|
||||||
requires_rebuild = true;
|
requires_rebuild = true;
|
||||||
let file_name = format!(
|
let file_name = format!(
|
||||||
"{}-{}-{}-{}{}.{}",
|
"{}-{}-{}{}.{}",
|
||||||
i + 1,
|
i + 1,
|
||||||
slugify(&author.name),
|
slugify(&author.name),
|
||||||
author.discriminator,
|
|
||||||
timestamp,
|
timestamp,
|
||||||
if i == 0 {
|
if i == 0 {
|
||||||
"".to_owned()
|
"".to_owned()
|
||||||
|
|
Loading…
Add table
Reference in a new issue