mirror of
https://github.com/eRgo35/lyra.git
synced 2026-02-04 20:36:10 +01:00
0.5.1 refractor
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
use crate::{Context, Error};
|
||||
|
||||
#[poise::command(
|
||||
prefix_command,
|
||||
hide_in_help,
|
||||
owners_only
|
||||
)]
|
||||
pub async fn register(
|
||||
ctx: Context<'_>
|
||||
) -> Result<(), 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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user