From 65cd74fdb5047370c48714050e9ad68b48bb6866 Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 30 Mar 2024 11:39:10 +0900 Subject: [PATCH] fix --- src/bot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bot.rs b/src/bot.rs index 981f493..2c6a7da 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -17,10 +17,10 @@ use crate::data::Notify; pub fn c_bot(c: &Context) { let h = async { - let mut notify = notify::get_request(100).await; + let mut notify = notify::get_request(50).await; if notify == "err" { refresh(c); - notify = notify::get_request(100).await; + notify = notify::get_request(50).await; } let notify: Notify = serde_json::from_str(¬ify).unwrap(); let host = data_toml(&"host");