mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
Merge branch 'main' into feat-2869
This commit is contained in:
@@ -10,8 +10,5 @@ export * from "./src/structures/message.ts";
|
||||
export * from "./src/structures/mod.ts";
|
||||
export * from "./src/structures/role.ts";
|
||||
export * from "./src/types/mod.ts";
|
||||
export * from "./src/util/collection.ts";
|
||||
export * from "./src/util/constants.ts";
|
||||
export * from "./src/util/permissions.ts";
|
||||
export * from "./src/util/utils.ts";
|
||||
export * from "./src/util/mod.ts";
|
||||
export * from "./src/ws/mod.ts";
|
||||
|
||||
@@ -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"]);
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
export * from "./bigint.ts";
|
||||
export * from "./collection.ts";
|
||||
export * from "./constants.ts";
|
||||
export * from "./loop_object.ts";
|
||||
export * from "./permissions.ts";
|
||||
export * from "./utils.ts";
|
||||
export * from "./validate_length.ts";
|
||||
Reference in New Issue
Block a user