From 602b563efd3bea5be26327cbacf3fbc4fda37230 Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 26 Apr 2024 22:28:47 +0900 Subject: [PATCH] fix --- .config/ai/scpt | 2 +- src/bot.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")