This commit is contained in:
parent
7bbc3370d7
commit
4fca0e6335
@ -323,6 +323,8 @@ 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();
|
||||||
|
let ten_p = d.lines().collect::<Vec<_>>()[1].to_string();
|
||||||
|
if ten_p != "true" {
|
||||||
link = "https://card.syui.ai/".to_owned() + &handlev;
|
link = "https://card.syui.ai/".to_owned() + &handlev;
|
||||||
e = link.chars().count();
|
e = link.chars().count();
|
||||||
let str_rep = reply_link::post_request(
|
let str_rep = reply_link::post_request(
|
||||||
@ -337,6 +339,7 @@ pub fn c_bot(c: &Context) {
|
|||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user