Sign In

$editRole[]

Edits a role on a guild, returns boolean

v1.0.7+ Requires Brackets

Usage

$editRole[;;;;;;;]

Arguments

NameTypeRequiredDescription
guild ID
GuildYesThe guild to pull the role from
role ID
RoleYesThe role to edit data
name
StringNoThe new role name, leave empty to not modify
color
ColorNoThe new role color, leave empty to not modify
icon
StringNoThe new role icon, leave empty to not modify
hoisted
BooleanNoWhether the role is hoisted, leave empty to not modify
mentionable
BooleanNoWhether the role can be mentioned, leave empty to not modify
...perms
PermissionNoThe new perms for the role

Output

Boolean

Was this page helpful?