mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 09:20:08 +00:00
14 lines
265 B
TypeScript
14 lines
265 B
TypeScript
import { Bot } from "../deps.ts";
|
|
|
|
/**
|
|
* Move a member from a voice channel to another.
|
|
*/
|
|
export function moveMember(
|
|
bot: Bot,
|
|
guildId: bigint,
|
|
memberId: bigint,
|
|
channelId: bigint
|
|
) {
|
|
return bot.helpers.editMember(guildId, memberId, { channelId });
|
|
}
|