fix: strings[] to bigint[] in deleteMessages

This commit is contained in:
Skillz4Killz
2021-05-03 17:38:01 +00:00
committed by GitHub
parent 3d39b3878a
commit 0b13ccedb0

View File

@@ -6,7 +6,7 @@ import { requireBotChannelPermissions } from "../../util/permissions.ts";
/** Delete messages from the channel. 2-100. Requires the MANAGE_MESSAGES permission */
export async function deleteMessages(
channelId: bigint,
ids: string[],
ids: bigint[],
reason?: string,
) {
await requireBotChannelPermissions(channelId, ["MANAGE_MESSAGES"]);