mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +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";
|
import { snakelize } from "../../util/utils.ts";
|
||||||
|
|
||||||
/** Edit the member */
|
/** Edit the member */
|
||||||
export async function editMember(
|
export async function editMember(guildId: bigint, memberId: bigint, options: ModifyGuildMember) {
|
||||||
guildId: bigint,
|
|
||||||
memberId: bigint,
|
|
||||||
options: Omit<ModifyGuildMember, "channelId"> & { channelId?: bigint | null }
|
|
||||||
) {
|
|
||||||
const requiredPerms: Set<PermissionStrings> = new Set();
|
const requiredPerms: Set<PermissionStrings> = new Set();
|
||||||
|
|
||||||
if (options.nick) {
|
if (options.nick) {
|
||||||
|
|||||||
Reference in New Issue
Block a user