ModifyGuildMember
@discordeno/bot • Docs
Documentation / @discordeno/bot / ModifyGuildMember
Interface: ModifyGuildMember
https://discord.com/developers/docs/resources/guild#modify-guild-member
Properties
channelId?
optional
channelId:null
|BigString
Id of channel to move user to (if they are connected to voice). Requires the MOVE_MEMBERS
permission
Defined in
packages/types/dist/types/discordeno.d.ts:1290
communicationDisabledUntil?
optional
communicationDisabledUntil:null
|string
When the user's timeout will expire and the user will be able to communicate in the guild again (up to 28 days in the future), set to null to remove timeout. Requires the MODERATE_MEMBERS
permission. The date must be given in a ISO string form.
Defined in
packages/types/dist/types/discordeno.d.ts:1292
deaf?
optional
deaf:null
|boolean
Whether the user is deafened in voice channels. Will throw a 400 if the user is not in a voice channel. Requires the MOVE_MEMBERS
permission
Defined in
packages/types/dist/types/discordeno.d.ts:1288
flags?
optional
flags:number
Set the flags for the guild member. Requires the MANAGE_GUILD
or MANAGE_ROLES
or the combination of MODERATE_MEMBERS
and KICK_MEMBERS
and BAN_MEMBERS
Defined in
packages/types/dist/types/discordeno.d.ts:1294
mute?
optional
mute:null
|boolean
Whether the user is muted in voice channels. Will throw a 400 if the user is not in a voice channel. Requires the MUTE_MEMBERS
permission
Defined in
packages/types/dist/types/discordeno.d.ts:1286
nick?
optional
nick:null
|string
Value to set users nickname to. Requires the MANAGE_NICKNAMES
permission
Defined in
packages/types/dist/types/discordeno.d.ts:1282
roles?
optional
roles:null
|BigString
[]
Array of role ids the member is assigned. Requires the MANAGE_ROLES
permission
Defined in
packages/types/dist/types/discordeno.d.ts:1284