Files
discordeno/plugins/permissions/src/channels/threads/mod.ts
T
LTS20050703 b4a823aba1 feat: Validation Plugin (#2451)
* Plugins/Permissions: FIX PARITY ISSUES
What is parity issues? Parity issues are files that exist but structured one way in the base/vanilla discordeno library, and structured another way in the permisison plugin.

* deno fmt

* plugins/permissions: nuke validations

* plugins/permissions VALIDATIONS -> plugins/validations

* plugins/validations: slash commands max 4000 chars

* fix module not found
2022-09-12 08:57:59 -05:00

19 lines
744 B
TypeScript

import { BotWithCache } from "../../../deps.ts";
import { addThreadMember } from "./addThreadMember.ts";
import { getPrivateArchivedThreads } from "./getPrivateArchivedThreads.ts";
import { getPrivateJoinedArchivedThreads } from "./getPrivateJoinedArchivedThreads.ts";
import { getPublicArchivedThreads } from "./getPublicArchivedThreads.ts";
import { joinThread } from "./joinThread.ts";
import { leaveThread } from "./leaveThread.ts";
import { removeThreadMember } from "./removeThreadMember.ts";
export function threads(bot: BotWithCache) {
addThreadMember(bot);
getPublicArchivedThreads(bot);
getPrivateArchivedThreads(bot);
getPrivateJoinedArchivedThreads(bot);
joinThread(bot);
leaveThread(bot);
removeThreadMember(bot);
}