diff --git a/src/bot.rs b/src/bot.rs index 0e5c45e..09f1843 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -324,9 +324,10 @@ pub fn c_bot(c: &Context) { let text_limit = c_char(dd); handlev = d.lines().collect::>()[0].to_string(); let ten_l = d.lines().collect::>().len(); - println!("{}", ten_l); - if ten_l == 1 { - ten_p = d.lines().collect::>()[1]; + println!("handlev {}", handlev); + println!("ten_l {}", ten_l); + if ten_l == 3 { + ten_p = d.lines().collect::>()[2]; } if ten_p != "true" { link = "https://card.syui.ai/".to_owned() + &handlev;