From 501ba27e1cd52741988113ef47ee0fad7d0a5799 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Tue, 6 Aug 2024 16:32:35 -0400 Subject: fixup unknown command, document commands --- src/commands/meme/create.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/commands/meme/create.rs') diff --git a/src/commands/meme/create.rs b/src/commands/meme/create.rs index cad9bfc..e2eacbf 100644 --- a/src/commands/meme/create.rs +++ b/src/commands/meme/create.rs @@ -28,7 +28,8 @@ use crate::{ FFMPEG_COMMAND, }; -#[poise::command(slash_command, prefix_command, guild_only, category = "memes")] +/// Add a text/image meme to the db. +#[poise::command(prefix_command, guild_only, category = "memes")] pub async fn addmeme( ctx: PoiseContext<'_>, title: String, @@ -94,7 +95,8 @@ pub async fn addmeme( Ok(()) } -#[poise::command(slash_command, prefix_command, guild_only, category = "memes")] +/// Add an audiomeme to the meme db. +#[poise::command(prefix_command, guild_only, category = "memes")] pub async fn addaudiomeme( ctx: PoiseContext<'_>, title: String, -- cgit v1.3.1