Sign In

$addRole[]

Adds a role to a guild, returns role id if success

v1.0.0+ Requires Brackets

Usage

$addRole[;;;;;;;]

Arguments

NameTypeRequiredDescription
guild ID
GuildYesThe guild to add the role to
name
StringYesThe role name
color
ColorNoThe role color
icon
StringNoThe role icon
hoisted
BooleanNoWhether the role is hoisted
mentionable
BooleanNoWhether the role is mentionable
position
NumberNoThe position for this role
...perms
NoThe role perms

Output

Role

Was this page helpful?