We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b170f8 commit 2ca7226Copy full SHA for 2ca7226
1 file changed
src/command/role.rs
@@ -9,7 +9,7 @@ use std::str::FromStr;
9
slash_command,
10
category = "Role",
11
rename = "toggle_update",
12
- required_permissions = "SEND_MESSAGES | MANAGE_ROLES"
+ required_bot_permissions = "SEND_MESSAGES | MANAGE_ROLES"
13
)]
14
pub async fn toggle_update_role(ctx: CommandContext<'_>) -> CommandResult {
15
if UPDATE_ROLE_ID.is_empty() {
0 commit comments