Skip to content

Defined in: zaun/js/index.d.ts:814

new Role(): Role

Role

readonly color: number

Defined in: zaun/js/index.d.ts:818


readonly community: Community

Defined in: zaun/js/index.d.ts:815


readonly id: string

Defined in: zaun/js/index.d.ts:816


readonly managedBy: string

Defined in: zaun/js/index.d.ts:822

The bot whose managed role this is.


readonly name: string

Defined in: zaun/js/index.d.ts:817


readonly permissions: Permissions

Defined in: zaun/js/index.d.ts:820


readonly position: number

Defined in: zaun/js/index.d.ts:819

delete(): Promise<void>

Defined in: zaun/js/index.d.ts:825

Promise<void>


mention(): string

Defined in: zaun/js/index.d.ts:824

<@&id>: the text that shows a mention of this role.

string