made preview mod only
This commit is contained in:
parent
5ce9cf8e73
commit
e3008e20f9
1 changed files with 5 additions and 1 deletions
|
|
@ -120,7 +120,11 @@ pub async fn view(
|
|||
}
|
||||
|
||||
/// Preview FAQ
|
||||
#[poise::command(prefix_command, slash_command)]
|
||||
#[poise::command(
|
||||
prefix_command,
|
||||
slash_command,
|
||||
required_permissions = "MANAGE_MESSAGES" // mod only
|
||||
)]
|
||||
pub async fn preview(
|
||||
ctx: Context<'_>,
|
||||
#[description = "FAQ Title"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue