fix admin
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 14s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 14s
This commit is contained in:
Submodule .config/ai/scpt updated: a447e15d0b...b16ed58552
@ -146,7 +146,7 @@ pub fn c_bot(c: &Context) {
|
|||||||
.await;
|
.await;
|
||||||
w_cid(cid.to_string(), log_file(&"n1"), true);
|
w_cid(cid.to_string(), log_file(&"n1"), true);
|
||||||
println!("{}", str_rep);
|
println!("{}", str_rep);
|
||||||
} else if com == "diffusers" || com == "/diffusers" {
|
} else if { com == "diffusers" || com == "/diffusers" } && handle == &admin{
|
||||||
let _output = Command::new(data_scpt(&"ai"))
|
let _output = Command::new(data_scpt(&"ai"))
|
||||||
.arg(&"atproto").arg(&"diffusers")
|
.arg(&"atproto").arg(&"diffusers")
|
||||||
.arg(&handle)
|
.arg(&handle)
|
||||||
@ -393,7 +393,7 @@ pub fn c_bot(c: &Context) {
|
|||||||
println!("{}", str_rep);
|
println!("{}", str_rep);
|
||||||
w_cid(cid.to_string(), log_file(&"n1"), true);
|
w_cid(cid.to_string(), log_file(&"n1"), true);
|
||||||
}
|
}
|
||||||
} else if com == "sh" && handle == &admin {
|
} else if { com == "sh" || com == "/sh" } && handle == &admin {
|
||||||
println!("admin:{}", admin);
|
println!("admin:{}", admin);
|
||||||
let output = Command::new(data_scpt(&"ai"))
|
let output = Command::new(data_scpt(&"ai"))
|
||||||
.arg(&"atproto").arg(&"sh")
|
.arg(&"atproto").arg(&"sh")
|
||||||
|
Reference in New Issue
Block a user