From 35cc5c54d77dcfe29b6e37212155640cbacbd46a Mon Sep 17 00:00:00 2001 From: syui Date: Thu, 25 Apr 2024 15:46:21 +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 c3f544d..7c62782 160000 --- a/.config/ai/scpt +++ b/.config/ai/scpt @@ -1 +1 @@ -Subproject commit c3f544d54cc422c0eb3d9ed6f8a2f1f9ccb46c80 +Subproject commit 7c6278292f57410de103fb7b9b0fa92989cab14a diff --git a/src/bot.rs b/src/bot.rs index 8e20c2c..7508287 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -982,7 +982,7 @@ pub fn c_bot_feed(c: &Context) { .await; println!("{}", str_rep); w_cid(cid.to_string(), log_file(&"n1"), true); - } else if { com == "comment" || com == "/comment" } && handle == &admin && check_cid_comment == false { + } else if { com == "comment" || com == "/comment" } && handle == &admin { println!("admin:{}", admin); let output = Command::new(data_scpt(&"ai")) .arg(&"atproto").arg(&"comment")