diff --git a/src/bot.rs b/src/bot.rs index afa512e..60bd0bc 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -323,7 +323,7 @@ pub fn c_bot(c: &Context) { let dd = "\n".to_owned() + &d.to_string(); let text_limit = c_char(dd); handlev = d.lines().collect::>()[0].to_string(); - if d.lines().collect::>().len() >= 1 { + if d.lines().collect::>().len() != 0 { ten_p = d.lines().collect::>()[1]; } if ten_p != "true" {