From e83e484ea00e7baccc71c9d47a72798d7491d77a Mon Sep 17 00:00:00 2001 From: syui Date: Thu, 25 Apr 2024 22:31:18 +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 4b58022..4d90d5a 160000 --- a/.config/ai/scpt +++ b/.config/ai/scpt @@ -1 +1 @@ -Subproject commit 4b58022365d83dbb09f5cbee4c0cf9ce359f79cf +Subproject commit 4d90d5a9d155f13ae0b09cc825bdeb468406bf9b diff --git a/src/bot.rs b/src/bot.rs index 6f3e4b0..527c2c0 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -424,7 +424,7 @@ pub fn c_bot(c: &Context) { .await; println!("{}", str_rep); w_cid(cid.to_string(), log_file(&"n1"), true); - } else if check_uri_comment == true && handle == &admin { + } else if check_uri_comment == true { println!("admin:{}", admin); let output = Command::new(data_scpt(&"ai")) .arg(&"atproto").arg(&"comment")