Update disconnect_member.ts

This commit is contained in:
ITOH
2021-04-12 22:03:44 +02:00
parent d77e045e09
commit e2a6ffdd11
+1 -1
View File
@@ -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 });
}