fix: remove special case for Junko
https://thearchive.gg no longer has Junko as "Zunko"
This commit is contained in:
parent
80f8766b9c
commit
30dcd19ed1
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue