From 8e6fced543735aa4c68e70221518a37c36780d59 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 4 Nov 2026 01:08:08 +0100 Subject: commands: gate admin, trigger, cron and recording behind permissions --- src/commands/utilities.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/utilities.rs') 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 } /// Echo text to channel -#[poise::command(slash_command)] +#[poise::command(slash_command, required_permissions = "MANAGE_MESSAGES")] pub async fn say(ctx: Context<'_>, #[description = "Message to send"] text: String) -> Result<()> { // Acknowledge the interaction with an invisible ephemeral reply, delete it, // then post the actual text as a normal channel message (not a reply to the -- cgit v1.2.3