diff options
Diffstat (limited to '')
| -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(); |
