aboutsummaryrefslogtreecommitdiff
path: root/src/commands/meme/create.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-08-06 16:32:35 -0400
committerNathan Perry <np@nathanperry.dev>2024-08-06 16:32:35 -0400
commit501ba27e1cd52741988113ef47ee0fad7d0a5799 (patch)
treecfe5985b6896b8cd440638716d9c032735af46bf /src/commands/meme/create.rs
parent011fcf828ebd1325dbd4dfa21c4952f1be38a29f (diff)
fixup unknown command, document commands
Diffstat (limited to 'src/commands/meme/create.rs')
-rw-r--r--src/commands/meme/create.rs6
1 files changed, 4 insertions, 2 deletions
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,