fix: remove special case for Junko

https://thearchive.gg no longer has Junko as "Zunko"
This commit is contained in:
Rekai Nyangadzayi Musuka 2021-04-14 01:47:29 -05:00
parent 80f8766b9c
commit 30dcd19ed1
1 changed files with 1 additions and 5 deletions

View File

@ -39,11 +39,7 @@ pub async fn roll(ctx: &Context, msg: &Message) -> CommandResult {
let student = BANNER.roll(); let student = BANNER.roll();
let eng_name = student.name.get(Language::English).unwrap(); let eng_name = student.name.get(Language::English).unwrap();
let url_name = if eng_name == "Junko" { let url_name = &eng_name;
"Zunko"
} else {
&eng_name
};
let img_url = format!("{}/Characters/{}.png", CDN_URL, url_name); let img_url = format!("{}/Characters/{}.png", CDN_URL, url_name);
let title_url = format!("https://www.thearchive.gg/characters/{}", url_name); let title_url = format!("https://www.thearchive.gg/characters/{}", url_name);