1
0

fix
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
syui 2024-03-31 01:25:55 +09:00
parent cb45bca574
commit 2c113edd4b
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -324,9 +324,10 @@ pub fn c_bot(c: &Context) {
let text_limit = c_char(dd); let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string(); handlev = d.lines().collect::<Vec<_>>()[0].to_string();
let ten_l = d.lines().collect::<Vec<_>>().len(); let ten_l = d.lines().collect::<Vec<_>>().len();
println!("{}", ten_l); println!("handlev {}", handlev);
if ten_l == 1 { println!("ten_l {}", ten_l);
ten_p = d.lines().collect::<Vec<_>>()[1]; if ten_l == 3 {
ten_p = d.lines().collect::<Vec<_>>()[2];
} }
if ten_p != "true" { if ten_p != "true" {
link = "https://card.syui.ai/".to_owned() + &handlev; link = "https://card.syui.ai/".to_owned() + &handlev;