mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Update edit_member.ts
This commit is contained in:
@@ -11,11 +11,7 @@ import { requireBotChannelPermissions, requireBotGuildPermissions } from "../../
|
||||
import { snakelize } from "../../util/utils.ts";
|
||||
|
||||
/** Edit the member */
|
||||
export async function editMember(
|
||||
guildId: bigint,
|
||||
memberId: bigint,
|
||||
options: Omit<ModifyGuildMember, "channelId"> & { channelId?: bigint | null }
|
||||
) {
|
||||
export async function editMember(guildId: bigint, memberId: bigint, options: ModifyGuildMember) {
|
||||
const requiredPerms: Set<PermissionStrings> = new Set();
|
||||
|
||||
if (options.nick) {
|
||||
|
||||
Reference in New Issue
Block a user