diff --git a/src/lib.rs b/src/lib.rs index 495399c..77df130 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,7 +25,7 @@ pub fn guild_by_prefix(prefix: &str) -> Result, Box> { let top_100 = guild_leaderboard()?; for guild in top_100.data.into_iter() { - if guild.prefix.to_ascii_lowercase() == prefix.to_ascii_lowercase() { + if guild.prefix.to_lowercase() == prefix.to_lowercase() { return Ok(Some(guild)); } }