Skip to content

Commit 2ca7226

Browse files
committed
fix(role): required permissions should be bot permissions
1 parent 3b170f8 commit 2ca7226

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/command/role.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::str::FromStr;
99
slash_command,
1010
category = "Role",
1111
rename = "toggle_update",
12-
required_permissions = "SEND_MESSAGES | MANAGE_ROLES"
12+
required_bot_permissions = "SEND_MESSAGES | MANAGE_ROLES"
1313
)]
1414
pub async fn toggle_update_role(ctx: CommandContext<'_>) -> CommandResult {
1515
if UPDATE_ROLE_ID.is_empty() {

0 commit comments

Comments
 (0)