Fix compile error for real
This commit is contained in:
parent
b570dad388
commit
db1185494f
@ -28,7 +28,7 @@ pub fn wc_player(command: &str, msg: &Message) -> Result<(), Error> {
|
||||
**Total level**: {}{}",
|
||||
player.username,
|
||||
player.guild.name,
|
||||
if &player.guild.name != "None" { wynncraft::guild(&player.guild.name)?.unwrap().members.iter().filter(|x| x.name == player.username).next().unwrap().joined } else { "never" },
|
||||
if player.guild.name != "None" { wynncraft::guild(&player.guild.name)?.unwrap().members.iter().filter(|x| x.name == player.username).next().unwrap().joined.clone() } else { "never".to_owned() },
|
||||
player.playtime / 60,
|
||||
player.global.mobs_killed, player.global.pvp_kills,
|
||||
player.global.chests_found,
|
||||
|
Loading…
Reference in New Issue
Block a user