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-30 11:57:20 +09:00
parent 65cd74fdb5
commit fd33a989fa
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -322,7 +322,6 @@ pub fn c_bot(c: &Context) {
let d = String::from_utf8_lossy(&output.stdout); let d = String::from_utf8_lossy(&output.stdout);
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string(); handlev = d.lines().collect::<Vec<_>>()[0].to_string();
if d.lines().collect::<Vec<_>>().len() >= 1 { if d.lines().collect::<Vec<_>>().len() >= 1 {
ten_p = d.lines().collect::<Vec<_>>()[1]; ten_p = d.lines().collect::<Vec<_>>()[1];
@ -344,7 +343,6 @@ pub fn c_bot(c: &Context) {
println!("{}", str_rep); println!("{}", str_rep);
} }
w_cid(cid.to_string(), log_file(&"n1"), true); w_cid(cid.to_string(), log_file(&"n1"), true);
}
} else if com == "coin" || com == "/coin" { } else if com == "coin" || com == "/coin" {
let output = Command::new(data_scpt(&"ai")) let output = Command::new(data_scpt(&"ai"))
.arg(&"atproto").arg(&"coin") .arg(&"atproto").arg(&"coin")