summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commands/optional/teawiespam.rs2
-rw-r--r--src/main.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/optional/teawiespam.rs b/src/commands/optional/teawiespam.rs
index 2111308..1ec237e 100644
--- a/src/commands/optional/teawiespam.rs
+++ b/src/commands/optional/teawiespam.rs
@@ -4,7 +4,7 @@ use color_eyre::eyre::Result;
use log::debug;
/// teawie will spam you.
-#[poise::command(slash_command, prefix_command)]
+#[poise::command(slash_command)]
pub async fn teawiespam(ctx: Context<'_>) -> Result<()> {
let gid = ctx.guild_id().unwrap_or_default();
let settings = ctx.data().storage.get_guild_settings(&gid).await?;
diff --git a/src/main.rs b/src/main.rs
index 3cf07f9..d2ba8e2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -90,7 +90,6 @@ async fn main() -> Result<()> {
let options = FrameworkOptions {
commands: {
let mut commands = commands::global();
- commands.append(&mut commands::optional());
commands.append(&mut commands::moderation());
commands
},