diff --git a/src/commands/level.rs b/src/commands/level.rs index 2de4854..662df9f 100644 --- a/src/commands/level.rs +++ b/src/commands/level.rs @@ -46,7 +46,8 @@ struct LeaderboardEntry { slash_command, prefix_command, guild_only, - default_member_permissions = "MANAGE_GUILD" + default_member_permissions = "MANAGE_GUILD", + required_permissions = "MANAGE_GUILD" )] pub async fn set_level_roles( ctx: Context<'_>, @@ -162,7 +163,8 @@ pub async fn get_level_roles(ctx: Context<'_>) -> Result<(), Error> { slash_command, prefix_command, guild_only, - default_member_permissions = "MANAGE_GUILD" + default_member_permissions = "MANAGE_GUILD", + required_permissions = "MANAGE_GUILD" )] pub async fn set_levelup_message_channel( ctx: Context<'_>, @@ -199,7 +201,8 @@ pub async fn set_levelup_message_channel( slash_command, prefix_command, guild_only, - default_member_permissions = "MANAGE_GUILD" + default_member_permissions = "MANAGE_GUILD", + required_permissions = "MANAGE_GUILD" )] pub async fn set_levelup_message( ctx: Context<'_>, @@ -227,7 +230,8 @@ pub async fn set_levelup_message( slash_command, prefix_command, guild_only, - default_member_permissions = "MANAGE_GUILD" + default_member_permissions = "MANAGE_GUILD", + required_permissions = "MANAGE_GUILD" )] pub async fn levelup_role_bridger( ctx: Context<'_>,