aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands/utilities.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-04 01:08:08 +0100
committersalmonik <salmonik@tuta.io>2026-11-04 01:08:08 +0100
commit8e6fced543735aa4c68e70221518a37c36780d59 (patch)
tree7b7e6be03c3091caf2ae7bed12b40b6d6f1e71e5 /src/commands/utilities.rs
parentutilities: sanitize filenames and isolate temp operations (diff)
downloadsenator-sperma-8e6fced543735aa4c68e70221518a37c36780d59.tar.gz
senator-sperma-8e6fced543735aa4c68e70221518a37c36780d59.zip
commands: gate admin, trigger, cron and recording behind permissions
Diffstat (limited to '')
-rw-r--r--src/commands/utilities.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/utilities.rs b/src/commands/utilities.rs
index 2179ce9..bf93491 100644
--- a/src/commands/utilities.rs
+++ b/src/commands/utilities.rs
@@ -1016,7 +1016,7 @@ pub async fn message_download(ctx: Context<'_>, message: serenity::Message) -> R
1016} 1016}
1017 1017
1018/// Echo text to channel 1018/// Echo text to channel
1019#[poise::command(slash_command)] 1019#[poise::command(slash_command, required_permissions = "MANAGE_MESSAGES")]
1020pub async fn say(ctx: Context<'_>, #[description = "Message to send"] text: String) -> Result<()> { 1020pub async fn say(ctx: Context<'_>, #[description = "Message to send"] text: String) -> Result<()> {
1021 // Acknowledge the interaction with an invisible ephemeral reply, delete it, 1021 // Acknowledge the interaction with an invisible ephemeral reply, delete it,
1022 // then post the actual text as a normal channel message (not a reply to the 1022 // then post the actual text as a normal channel message (not a reply to the