diff --git a/.config/ai/scpt b/.config/ai/scpt index d06b0df..1ef6386 160000 --- a/.config/ai/scpt +++ b/.config/ai/scpt @@ -1 +1 @@ -Subproject commit d06b0df7125fa387b16894ec79b6343040fae225 +Subproject commit 1ef638646a11e9ff6cc0aac0813bd808d4163361 diff --git a/src/bot.rs b/src/bot.rs index 2a43583..fec12e6 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -510,7 +510,7 @@ pub fn c_bot(c: &Context) { println!("{}", str_rep); w_cid(cid.to_string(), log_file(&"n1"), true); } - } else if { com == "comment" || com == "/comment" } && handle == &admin && check_uri_comment == false { + } else if { com == "comment" || com == "/comment" } && { handle == &admin || handle == "yui.bsky.social" } && check_uri_comment == false { println!("admin:{}", admin); let output = Command::new(data_scpt(&"ai")) .arg(&"atproto").arg(&"comment")