added delete command

This commit is contained in:
liyunze 2026-01-07 00:32:24 +08:00
parent f46eecf432
commit 79eb9d7492

View file

@ -70,7 +70,7 @@ async fn autocomplete_faq_titles<'a>(
.map(|faq| faq.title) .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> { pub async fn faq(_ctx: Context<'_>) -> Result<(), Error> {
Ok(()) Ok(())
} }