Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#modifyGuildMember

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.modifyGuildMember
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Modify attributes of a guild member. Returns a 200 OK with the guild member as the body. Fires a Guild Member Update Gateway event. If the channel_id is set to null, this will force the target user to be disconnected from voice.

Parameters

guildId: string
userId: string
payload: Partial<MemberPayload>