ModifyGuildMember
Documentation / @discordeno/types / ModifyGuildMember
Interface: ModifyGuildMember
Defined in: discordeno/guild.ts:148
https://docs.discord.com/developers/resources/guild#modify-guild-member-json-params
Properties
channelId?
optionalchannelId?:BigString|null
Defined in: discordeno/guild.ts:158
Id of channel to move user to (if they are connected to voice). Requires the MOVE_MEMBERS permission
communicationDisabledUntil?
optionalcommunicationDisabledUntil?:string|null
Defined in: discordeno/guild.ts:160
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.
deaf?
optionaldeaf?:boolean|null
Defined in: discordeno/guild.ts:156
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
flags?
optionalflags?:number
Defined in: discordeno/guild.ts:166
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
See
mute?
optionalmute?:boolean|null
Defined in: discordeno/guild.ts:154
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
nick?
optionalnick?:string|null
Defined in: discordeno/guild.ts:150
Value to set users nickname to. Requires the MANAGE_NICKNAMES permission
roles?
optionalroles?:BigString[] |null
Defined in: discordeno/guild.ts:152
Array of role ids the member is assigned. Requires the MANAGE_ROLES permission