Merge branch 'main' into feat-2869

This commit is contained in:
rigormorrtiss
2021-05-03 21:40:27 +04:00
committed by GitHub
3 changed files with 9 additions and 5 deletions
+1 -4
View File
@@ -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";
+1 -1
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"]);
+7
View File
@@ -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";