mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
* 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
28 lines
1009 B
TypeScript
28 lines
1009 B
TypeScript
import { BotWithCache } from "../../deps.ts";
|
|
import { createChannel } from "./createChannel.ts";
|
|
import { deleteChannel } from "./deleteChannel.ts";
|
|
import { deleteChannelPermissionOverride } from "./deleteChannelPermissionOverride.ts";
|
|
import { editChannel } from "./editChannel.ts";
|
|
import { editChannelPermissionOverrides } from "./editChannelPermissionOverrides.ts";
|
|
import { followAnnouncementChannel } from "./followAnnouncementChannel.ts";
|
|
import { forums } from "./forums/mod.ts";
|
|
import { getChannelWebhooks } from "./getChannelWebhooks.ts";
|
|
import { stages } from "./stages/mod.ts";
|
|
import { swapChannels } from "./swapChannels.ts";
|
|
import { threads } from "./threads/mod.ts";
|
|
|
|
export function channels(bot: BotWithCache) {
|
|
forums(bot);
|
|
stages(bot);
|
|
threads(bot);
|
|
|
|
createChannel(bot);
|
|
deleteChannel(bot);
|
|
deleteChannelPermissionOverride(bot);
|
|
editChannel(bot);
|
|
editChannelPermissionOverrides(bot);
|
|
followAnnouncementChannel(bot);
|
|
getChannelWebhooks(bot);
|
|
swapChannels(bot);
|
|
}
|