EditGuildRole
Documentation / @discordeno/bot / EditGuildRole
Interface: EditGuildRole
Defined in: packages/types/dist/types/discordeno.d.ts:1126
Properties
color?
optional
color:number
Defined in: packages/types/dist/types/discordeno.d.ts:1132
RGB color value, default: 0
hoist?
optional
hoist:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:1134
Whether the role should be displayed separately in the sidebar, default: false
icon?
optional
icon:string
Defined in: packages/types/dist/types/discordeno.d.ts:1140
the role's icon image (if the guild has the ROLE_ICONS
feature)
mentionable?
optional
mentionable:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:1136
Whether the role should be mentionable, default: false
name?
optional
name:string
Defined in: packages/types/dist/types/discordeno.d.ts:1128
Name of the role, max 100 characters, default: "new role"
permissions?
optional
permissions: ("CREATE_INSTANT_INVITE"
|"KICK_MEMBERS"
|"BAN_MEMBERS"
|"ADMINISTRATOR"
|"MANAGE_CHANNELS"
|"MANAGE_GUILD"
|"ADD_REACTIONS"
|"VIEW_AUDIT_LOG"
|"PRIORITY_SPEAKER"
|"STREAM"
|"VIEW_CHANNEL"
|"SEND_MESSAGES"
|"SEND_TTS_MESSAGES"
|"MANAGE_MESSAGES"
|"EMBED_LINKS"
|"ATTACH_FILES"
|"READ_MESSAGE_HISTORY"
|"MENTION_EVERYONE"
|"USE_EXTERNAL_EMOJIS"
|"VIEW_GUILD_INSIGHTS"
|"CONNECT"
|"SPEAK"
|"MUTE_MEMBERS"
|"DEAFEN_MEMBERS"
|"MOVE_MEMBERS"
|"USE_VAD"
|"CHANGE_NICKNAME"
|"MANAGE_NICKNAMES"
|"MANAGE_ROLES"
|"MANAGE_WEBHOOKS"
|"MANAGE_GUILD_EXPRESSIONS"
|"USE_SLASH_COMMANDS"
|"REQUEST_TO_SPEAK"
|"MANAGE_EVENTS"
|"MANAGE_THREADS"
|"CREATE_PUBLIC_THREADS"
|"CREATE_PRIVATE_THREADS"
|"USE_EXTERNAL_STICKERS"
|"SEND_MESSAGES_IN_THREADS"
|"USE_EMBEDDED_ACTIVITIES"
|"MODERATE_MEMBERS"
|"VIEW_CREATOR_MONETIZATION_ANALYTICS"
|"USE_SOUNDBOARD"
|"CREATE_GUILD_EXPRESSIONS"
|"CREATE_EVENTS"
|"USE_EXTERNAL_SOUNDS"
|"SEND_VOICE_MESSAGES"
|"SEND_POLLS"
|"USE_EXTERNAL_APPS"
)[]
Defined in: packages/types/dist/types/discordeno.d.ts:1130
Bitwise value of the enabled/disabled permissions, default: everyone permissions in guild
unicodeEmoji?
optional
unicodeEmoji:string
Defined in: packages/types/dist/types/discordeno.d.ts:1138
The role's unicode emoji (if the guild has the ROLE_ICONS
feature)