diff --git a/src/feature/poll/command.rs b/src/feature/poll/command.rs index ebda16a..a01a6a3 100644 --- a/src/feature/poll/command.rs +++ b/src/feature/poll/command.rs @@ -7,7 +7,7 @@ use serenity::all::{CreateEmbed, CreateEmbedFooter, ReactionType}; const NUMBER_EMOJIS: [&str; 10] = ["1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣", "🔟"]; /// `/poll ` - options separated by `;` (2-10). Adds number reactions. -#[poise::command(slash_command, prefix_command, guild_only)] +#[poise::command(slash_command, guild_only)] pub async fn poll( ctx: Ctx<'_>, #[description = "Poll question"] question: String, diff --git a/src/feature/remind/command.rs b/src/feature/remind/command.rs index 3841226..47cedf5 100644 --- a/src/feature/remind/command.rs +++ b/src/feature/remind/command.rs @@ -19,7 +19,7 @@ fn parse_duration(input: &str) -> Option { } /// `/remind ` - e.g. `/remind 10m stretch break`. Max 7 days. -#[poise::command(slash_command, prefix_command, guild_only)] +#[poise::command(slash_command, guild_only)] pub async fn remind( ctx: Ctx<'_>, #[description = "Duration, e.g. 30s, 10m, 2h, 1d"] duration: String,