mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
Update edit_member.ts
This commit is contained in:
@@ -54,7 +54,7 @@ export async function editMember(guildId: bigint, memberId: bigint, options: Mod
|
||||
endpoints.GUILD_MEMBER(guildId, memberId),
|
||||
snakelize({
|
||||
...options,
|
||||
channelId: options.channelId ? bigintToSnowflake(options.channelId) : null,
|
||||
channelId: typeof options.channelId === "bigint" ? bigintToSnowflake(options.channelId) : options.channelId,
|
||||
}) as ModifyGuildMember
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user