修复了上一个推送导致的bug

This commit is contained in:
Zihaoxu2008
2025-01-25 19:36:53 +08:00
parent 0766ebeeb5
commit 7021969b27
3 changed files with 32 additions and 16 deletions

View File

@@ -315,7 +315,7 @@ impl<T: StreamType> Bot<T> {
}
(*var.spam_cursor.lock().await) = reader.stream_position().await.unwrap();
}
self.send_message(msg).await.unwrap();
self.send_message(msg).await.unwrap_or(());
}
iter += 1;
}