1
0
This commit is contained in:
syui 2024-02-17 11:59:28 +09:00
parent 76ac1c4d62
commit 0183000dbb
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -16,10 +16,10 @@ use crate::data::Notify;
pub fn c_bot(c: &Context) {
let h = async {
let mut notify = notify::get_request(20).await;
let mut notify = notify::get_request(100).await;
if notify == "err" {
refresh(c);
notify = notify::get_request(20).await;
notify = notify::get_request(100).await;
}
let notify: Notify = serde_json::from_str(&notify).unwrap();