GuildMemberEditData
typedef · Source
The data for editing a guild member. Type: Object
Properties
nick
nick: string
The nickname to set for the member
roles
roles: Collection<Snowflake, Role> | Array<RoleResolvable>
The roles or role ids to apply
mute
mute: boolean
Whether or not the member should be muted
deaf
deaf: boolean
Whether or not the member should be deafened
channel
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
communicationDisabledUntil: DateResolvable | null
The date or timestamp for the member's communication to be disabled until. Provide null to enable communication again.
flags
flags: GuildMemberFlagsResolvable
The flags to set for the member
avatar
avatar: BufferResolvable | Base64Resolvable
The new guild avatar
banner
banner: BufferResolvable | Base64Resolvable
The new guild banner
bio
bio: string
The new guild about me