mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
Update src/helpers/members/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),
|
endpoints.GUILD_MEMBER(guildId, memberId),
|
||||||
snakelize({
|
snakelize({
|
||||||
...options,
|
...options,
|
||||||
channelId: typeof options.channelId === "bigint" ? bigintToSnowflake(options.channelId) : options.channelId,
|
channelId: options.channelId ? bigintToSnowflake(options.channelId) : options.channelId,
|
||||||
}) as ModifyGuildMember
|
}) as ModifyGuildMember
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user