This commit is contained in:
parent
3bbb2c34df
commit
ace3253c02
@ -548,10 +548,10 @@ pub fn c_bot_feed(c: &Context) {
|
|||||||
let mut e = link.chars().count();
|
let mut e = link.chars().count();
|
||||||
|
|
||||||
let mut prompt_sub = "".to_string();
|
let mut prompt_sub = "".to_string();
|
||||||
let com = vec[0].trim().to_string();
|
let com = vec[1].trim().to_string();
|
||||||
let prompt = vec[1..].join(" ");
|
let prompt = vec[2..].join(" ");
|
||||||
if vec.len() > 1 {
|
if vec.len() > 2 {
|
||||||
prompt_sub = vec[2..].join(" ");
|
prompt_sub = vec[3..].join(" ");
|
||||||
}
|
}
|
||||||
|
|
||||||
if prompt.is_empty() == false || com.is_empty() == false {
|
if prompt.is_empty() == false || com.is_empty() == false {
|
||||||
|
Loading…
Reference in New Issue
Block a user