Skip to content

GuildMemberEditData

typedef · Source

The data for editing a guild member. Type: Object

Properties

nick

nullable · optional

nick: string

The nickname to set for the member

roles

optional

roles: Collection<Snowflake, Role> | Array<RoleResolvable>

The roles or role ids to apply

mute

optional

mute: boolean

Whether or not the member should be muted

deaf

optional

deaf: boolean

Whether or not the member should be deafened

channel

optional

channel: GuildVoiceChannelResolvable | null

Channel to move the member to (if they are connected to voice), or null if you want to disconnect them from voice

communicationDisabledUntil

optional

communicationDisabledUntil: DateResolvable | null

The date or timestamp for the member's communication to be disabled until. Provide null to enable communication again.

flags

optional

flags: GuildMemberFlagsResolvable

The flags to set for the member

avatar

nullable · optional

avatar: BufferResolvable | Base64Resolvable

The new guild avatar

nullable · optional

banner: BufferResolvable | Base64Resolvable

The new guild banner

bio

nullable · optional

bio: string

The new guild about me

Unofficial software. Not affiliated with or supported by Discord.