From 79eb9d749253bb14d6e7253ed54b255ab0071ae8 Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Wed, 7 Jan 2026 00:32:24 +0800 Subject: [PATCH] added delete command --- src/commands/faq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/faq.rs b/src/commands/faq.rs index 20d44ea..bf362ce 100644 --- a/src/commands/faq.rs +++ b/src/commands/faq.rs @@ -70,7 +70,7 @@ async fn autocomplete_faq_titles<'a>( .map(|faq| faq.title) } -#[poise::command(slash_command, subcommands("view", "add", "edit"), guild_only)] +#[poise::command(slash_command, subcommands("view", "add", "edit", "delete"), guild_only)] pub async fn faq(_ctx: Context<'_>) -> Result<(), Error> { Ok(()) }