Skip to content

Interface: SetGuildRoleOptions ​

Extends ​

Properties ​

color? ​

optional color: number

身份组颜色 RGB 数值。

Defined in ​

src/bot-options.ts:221


hoist? ​

optional hoist: boolean

是否在成员列表中单独显示。

Inherited from ​

CreateGuildRoleOptions.hoist

Defined in ​

src/bot-options.ts:214


mentionable? ​

optional mentionable: boolean

是否可以被 @ 提及。

Inherited from ​

CreateGuildRoleOptions.mentionable

Defined in ​

src/bot-options.ts:212


name? ​

optional name: string

身份组名称。

Defined in ​

src/bot-options.ts:219


permissions ​

permissions: number

身份组权限值。

Defined in ​

src/bot-options.ts:223

Released under the MIT License.