Skip to main content
Module

x/coward/mod.ts>Options.modifyMember

🐔 Coward is a Deno module for easy interaction with the Discord API.
Latest
interface Options.modifyMember
import { type Options } from "https://deno.land/x/coward@v0.3.2/mod.ts";
const { modifyMember } = Options;

Properties

optional
nick: string

Value to set the user's nickname to. Requires MANAGE_NICKNAMES permission

optional
mute: boolean

Whether the user is muted in voice channels. Requires MUTE_MEMBERS permission

optional
deaf: boolean

Whether the user is deafened in voice channels. Requires DEAFEN_MEMBERS permission

optional
channel_id: string

The channel to move the member to (if they are in a voice channel). Requires MOVE_MEMBERS permission