Files
lyra/src/commands/tools/register.rs
2024-02-16 12:42:38 +01:00

8 lines
239 B
Rust

use crate::{Context, Error};
#[poise::command(prefix_command, hide_in_help, owners_only)]
pub async fn register(ctx: Context<'_>) -> Result<(), Error> {
poise::builtins::register_application_commands_buttons(ctx).await?;
Ok(())
}