This commit is contained in:
parent
83994045ac
commit
acd12823e3
@ -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(" ");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user