Skip to content

APIRole

Package: @erinjs/types

Role from GET /guilds/{id}/roles permissions is bitfield as string (e.g. "8933636165185")

Properties

NameTypeReadonlyOptionalDescription
colornumberNoNo
hoistbooleanNoNo
hoist_positionnumber | nullNoYes
idstringNoNo
mentionablebooleanNoNo
namestringNoNo
permissionsstringNoNo
positionnumberNoNo
unicode_emojistring | nullNoYes

Released under the Apache-2.0 License.