mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 23:09:59 +00:00
18 lines
563 B
TypeScript
18 lines
563 B
TypeScript
import * as t from "io-ts";
|
|
import { TimeAndDatePlugin } from "../TimeAndDate/TimeAndDatePlugin";
|
|
import { zeppelinGuildPlugin } from "../ZeppelinPluginBlueprint";
|
|
import { ArchiveChannelCmd } from "./commands/ArchiveChannelCmd";
|
|
import { ChannelArchiverPluginType } from "./types";
|
|
|
|
export const ChannelArchiverPlugin = zeppelinGuildPlugin<ChannelArchiverPluginType>()({
|
|
name: "channel_archiver",
|
|
showInDocs: false,
|
|
|
|
dependencies: () => [TimeAndDatePlugin],
|
|
configSchema: t.type({}),
|
|
|
|
// prettier-ignore
|
|
commands: [
|
|
ArchiveChannelCmd,
|
|
],
|
|
});
|