Sign In

$editRolePerms[]

Edits a role's permissions, returns boolean

v1.0.7+ Requires Brackets

Usage

$editRolePerms[;;]
Also callable as
$modifyRolePerms

Arguments

NameTypeRequiredDescription
guild ID
GuildYesThe guild to pull the role from
role ID
RoleYesThe role to edit perms for
...perms
PermissionNoThe new perms for the role, omit to clear perms

Output

Boolean

Was this page helpful?