1
0

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

This commit is contained in:
syui 2024-04-25 15:43:14 +09:00
parent 3a8089c823
commit 74f6aa9a85
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit ca91a08915bbde4df793e7f5001fb2b1c9d05a94 Subproject commit c3f544d54cc422c0eb3d9ed6f8a2f1f9ccb46c80

View File

@ -436,7 +436,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);
@ -982,7 +982,7 @@ pub fn c_bot_feed(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 == "comment" || com == "/comment" } && handle == &admin { } else if { com == "comment" || com == "/comment" } && handle == &admin && check_cid_comment == false {
println!("admin:{}", admin); println!("admin:{}", admin);
let output = Command::new(data_scpt(&"ai")) let output = Command::new(data_scpt(&"ai"))
.arg(&"atproto").arg(&"comment") .arg(&"atproto").arg(&"comment")
@ -994,7 +994,7 @@ pub fn c_bot_feed(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);