diff --git a/src/bot.rs b/src/bot.rs index aaa0695..33dc83d 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -456,7 +456,7 @@ pub fn c_bot(c: &Context) { println!("{}", str_rep); 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); let output = Command::new(data_scpt(&"ai")) .arg(&"atproto").arg(&"manga") @@ -468,7 +468,7 @@ pub fn c_bot(c: &Context) { .arg(&uri_root) .arg(&host) .arg(&avatar) - .arg(&prompt_chat) + .arg(&prompt_sub) .output() .expect("zsh"); let d = String::from_utf8_lossy(&output.stdout);