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