Latest
interface ModifyGuildMember
import { type ModifyGuildMember } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Properties

optional
nick: string | null

Value to set users nickname to. Requires the MANAGE_NICKNAMES permission

optional
roles: BigString[] | null

Array of role ids the member is assigned. Requires the MANAGE_ROLES permission

optional
mute: boolean | null

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

optional
deaf: boolean | null

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

optional
channelId: BigString | null

Id of channel to move user to (if they are connected to voice). Requires the MOVE_MEMBERS permission

optional
communicationDisabledUntil: number | null

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