Update edit_member.ts

This commit is contained in:
ITOH
2021-05-21 22:11:33 +02:00
parent c2bf15664f
commit 978b84d341
+1 -5
View File
@@ -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) {