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/delete.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/meme/delete.rs') 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?; -- cgit v1.3.1