修改部分内容

This commit is contained in:
Zihaoxu2008
2025-01-25 21:32:30 +08:00
parent 043ea80cbd
commit 15d6ce138b
5 changed files with 35 additions and 35 deletions

View File

@@ -293,7 +293,7 @@ impl<T: StreamType> Bot<T> {
if !self.config.spam_file().is_empty() && iter % self.config.spam_delay_ms() == 0{
let mut msg = String::new();
if self.config.random_prefix(){
msg += &utils::generate_string();
msg += &utils::generate_string(2,10);
}
{ // TODO 优化这里
let var = self.var.clone();