mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
10 lines
325 B
TypeScript
10 lines
325 B
TypeScript
// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/members/disconnect_member.ts
|
|
|
|
|
|
import { editMember } from "./edit_member.ts";
|
|
|
|
/** Kicks a member from a voice channel */
|
|
export function disconnectMember(guildId: bigint, memberId: bigint) {
|
|
return editMember(guildId, memberId, { channelId: null });
|
|
}
|