From 76ac1c4d62547a747f1a7644ee331f1034d29c06 Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 17 Feb 2024 11:59:02 +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 3d29cba..aa30c1b 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -16,10 +16,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(20).await; if notify == "err" { refresh(c); - notify = notify::get_request(100).await; + notify = notify::get_request(20).await; } let notify: Notify = serde_json::from_str(¬ify).unwrap();