1
0

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

This commit is contained in:
syui 2024-04-03 00:02:12 +09:00
parent c0aa118af0
commit 43afdb4857
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -456,7 +456,7 @@ 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 uri_root == &manga_uri { } else if uri_root == &manga_uri || {
println!("manga_uri:{}", manga_uri); println!("manga_uri:{}", manga_uri);
let output = Command::new(data_scpt(&"ai")) let output = Command::new(data_scpt(&"ai"))
.arg(&"atproto").arg(&"manga") .arg(&"atproto").arg(&"manga")
@ -468,7 +468,7 @@ pub fn c_bot(c: &Context) {
.arg(&uri_root) .arg(&uri_root)
.arg(&host) .arg(&host)
.arg(&avatar) .arg(&avatar)
.arg(&prompt_chat) .arg(&prompt_sub)
.output() .output()
.expect("zsh"); .expect("zsh");
let d = String::from_utf8_lossy(&output.stdout); let d = String::from_utf8_lossy(&output.stdout);