diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-06 21:34:53 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-06 21:34:53 +0100 |
| commit | f471d4caefff51d49b69551412f4859d99f674a2 (patch) | |
| tree | 1b48ef33957c39522eaaa599324e1d01ac85178f /src/commands/record.rs | |
| parent | tests: skip the piper smoke test when models are absent (diff) | |
| download | senator-sperma-main.tar.gz senator-sperma-main.zip | |
revert required permissionsmain
Signed-off-by: salmonik <salmonik@tuta.io>
Diffstat (limited to 'src/commands/record.rs')
| -rw-r--r-- | src/commands/record.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/record.rs b/src/commands/record.rs index dfe736d..c5cecd3 100644 --- a/src/commands/record.rs +++ b/src/commands/record.rs | |||
| @@ -13,7 +13,7 @@ type Context<'a> = poise::Context<'a, crate::Data, crate::error::Error>; | |||
| 13 | /// connected to a voice channel, if `RECORDING_ENABLED=true`. This command is a | 13 | /// connected to a voice channel, if `RECORDING_ENABLED=true`. This command is a |
| 14 | /// read-only snapshot — the buffer keeps recording afterwards. Only callable by | 14 | /// read-only snapshot — the buffer keeps recording afterwards. Only callable by |
| 15 | /// someone in the same voice channel as the bot. | 15 | /// someone in the same voice channel as the bot. |
| 16 | #[poise::command(slash_command, guild_only, required_permissions = "MANAGE_GUILD")] | 16 | #[poise::command(slash_command, guild_only)] |
| 17 | pub async fn record(ctx: Context<'_>) -> Result<()> { | 17 | pub async fn record(ctx: Context<'_>) -> Result<()> { |
| 18 | ctx.defer().await?; | 18 | ctx.defer().await?; |
| 19 | let data = ctx.data(); | 19 | let data = ctx.data(); |
