mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
Update disconnect_member.ts
This commit is contained in:
@@ -2,5 +2,5 @@ import { editMember } from "./edit_member.ts";
|
||||
|
||||
/** Kicks a member from a voice channel */
|
||||
export function disconnectMember(guildId: string, memberId: string) {
|
||||
return editMember(guildId, memberId, { channel_id: null });
|
||||
return editMember(guildId, memberId, { channelId: null });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user