feat: Restrict where certain admin commands may be used

This commit is contained in:
Ginger authored and Jade Ellis committed 2025-12-31 19:56:31 +00:00
1 parent 442f887c98
commit c565e6ffbc
13 files changed
+185 -92

No files matched your search

+1
View File
@@ -59,6 +59,7 @@ async fn process_command(services: Arc<Services>, input: &CommandInput) -> Proce
reply_id: input.reply_id.as_deref(),
sender: input.sender.as_deref(),
output: BufWriter::new(Vec::new()).into(),
source: input.source,
};
let (result, mut logs) = process(&context, command, &args).await;