added delete command
This commit is contained in:
parent
f46eecf432
commit
79eb9d7492
1 changed files with 1 additions and 1 deletions
|
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue