Preview deployment

interface GuildMemberEditOptions

export interface GuildMemberEditOptions

The data for editing a guild member.

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

optional
communicationDisabledUntil? : DateResolvable | null

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

optional
deaf? : boolean

Whether or not the member should be deafened

The flags to set for the member

optional
mute? : boolean

Whether or not the member should be muted

optional
nick? : string | null

The nickname to set for the member

optional
reason? : string

Reason for editing this user

optional
roles? : ReadonlyCollection<Snowflake, Role> | readonly RoleResolvable[]

The roles or role ids to apply