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 03:28:16 +09:00
parent 7bbc3370d7
commit 4fca0e6335
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -323,20 +323,23 @@ pub fn c_bot(c: &Context) {
let text_limit = c_char(dd); let text_limit = c_char(dd);
if text_limit.len() > 3 { if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string(); handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://card.syui.ai/".to_owned() + &handlev; let ten_p = d.lines().collect::<Vec<_>>()[1].to_string();
e = link.chars().count(); if ten_p != "true" {
let str_rep = reply_link::post_request( link = "https://card.syui.ai/".to_owned() + &handlev;
text_limit.to_string(), e = link.chars().count();
link.to_string(), let str_rep = reply_link::post_request(
s, text_limit.to_string(),
e.try_into().unwrap(), link.to_string(),
cid.to_string(), s,
uri.to_string(), e.try_into().unwrap(),
cid_root.to_string(), cid.to_string(),
uri_root.to_string(), uri.to_string(),
) cid_root.to_string(),
.await; uri_root.to_string(),
println!("{}", str_rep); )
.await;
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" {