1
0

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

This commit is contained in:
syui 2024-03-31 00:41:55 +09:00
parent 5ecfe74825
commit 65d475e55c
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -323,7 +323,10 @@ pub fn c_bot(c: &Context) {
let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
if d.lines().collect::<Vec<_>>().len() != 0 {
let ten_l = d.lines().collect::<Vec<_>>().len();
if ten_l == 0 {
println!("{}", ten_l);
} else {
ten_p = d.lines().collect::<Vec<_>>()[1];
}
if ten_p != "true" {