aboutsummaryrefslogtreecommitdiff
path: root/src/commands/meme/delete.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/delete.rs
parent011fcf828ebd1325dbd4dfa21c4952f1be38a29f (diff)
fixup unknown command, document commands
Diffstat (limited to 'src/commands/meme/delete.rs')
-rw-r--r--src/commands/meme/delete.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/meme/delete.rs b/src/commands/meme/delete.rs
index 25ddf0d..4769cc8 100644
--- a/src/commands/meme/delete.rs
+++ b/src/commands/meme/delete.rs
@@ -10,12 +10,12 @@ use crate::{
connection,
delete_meme,
},
- msg,
util,
PoiseContext,
};
-#[poise::command(slash_command, prefix_command, guild_only, category = "memes", aliases("delmem"))]
+/// Delete a meme by name.
+#[poise::command(prefix_command, guild_only, category = "memes", aliases("delmem"))]
pub async fn delmeme(ctx: PoiseContext<'_>, title: String) -> anyhow::Result<()> {
let mut conn = connection().await?;