1
0

fix
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s

This commit is contained in:
syui 2024-04-14 05:01:33 +09:00
parent 57eb0efcbb
commit b0ceeec47d
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 5 additions and 1 deletions

@ -1 +1 @@
Subproject commit 70595e19511e7970ecdbe5fe556eef9380a9fbdf Subproject commit e381d4c4610f4e58615220f91cd12707e5fccb9f

View File

@ -542,6 +542,10 @@ pub fn c_bot_feed(c: &Context) {
if !n[i].post.record.text.is_none() { if !n[i].post.record.text.is_none() {
text = &n[i].post.record.text.as_ref().unwrap(); text = &n[i].post.record.text.as_ref().unwrap();
} }
//let mut reason = false;
//if !n[i].post.record.reply.is_none() {
// reason = true;
//}
let vec: Vec<&str> = text.split_whitespace().collect(); let vec: Vec<&str> = text.split_whitespace().collect();
let handlev: Vec<&str> = handle.split('.').collect(); let handlev: Vec<&str> = handle.split('.').collect();
let mut handlev = handlev[0].trim().to_string(); let mut handlev = handlev[0].trim().to_string();