diff options
Diffstat (limited to 'src/commands/utilities.rs')
| -rw-r--r-- | src/commands/utilities.rs | 2 |
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")] |
| 1020 | pub async fn say(ctx: Context<'_>, #[description = "Message to send"] text: String) -> Result<()> { | 1020 | pub 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 |
