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:
parent
e7c06cf9d1
commit
5d60645c0f
@ -1 +1 @@
|
||||
Subproject commit a447e15d0be30b3f749bcaa092ba101df63a125f
|
||||
Subproject commit b16ed585525aa279c1caeae606b8e49cc6589c7a
|
@ -146,7 +146,7 @@ pub fn c_bot(c: &Context) {
|
||||
.await;
|
||||
w_cid(cid.to_string(), log_file(&"n1"), true);
|
||||
println!("{}", str_rep);
|
||||
} else if com == "diffusers" || com == "/diffusers" {
|
||||
} else if { com == "diffusers" || com == "/diffusers" } && handle == &admin{
|
||||
let _output = Command::new(data_scpt(&"ai"))
|
||||
.arg(&"atproto").arg(&"diffusers")
|
||||
.arg(&handle)
|
||||
@ -393,7 +393,7 @@ pub fn c_bot(c: &Context) {
|
||||
println!("{}", str_rep);
|
||||
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);
|
||||
let output = Command::new(data_scpt(&"ai"))
|
||||
.arg(&"atproto").arg(&"sh")
|
||||
|
Loading…
Reference in New Issue
Block a user