1
0

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

This commit is contained in:
syui 2024-04-13 05:18:12 +09:00
parent 83994045ac
commit acd12823e3
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -554,7 +554,7 @@ pub fn c_bot_feed(c: &Context) {
let mut com = "".to_string(); let mut com = "".to_string();
let mut prompt = "".to_string(); let mut prompt = "".to_string();
let mut prompt_sub = "".to_string(); let mut prompt_sub = "".to_string();
if vec.len() > 1 { if vec.len() >= 1 {
com = vec[1].trim().to_string(); com = vec[1].trim().to_string();
prompt = vec[2..].join(" "); prompt = vec[2..].join(" ");
} }