2020-07-30 20:10:50 +03:00
|
|
|
import * as t from "io-ts";
|
2020-08-19 00:19:12 +03:00
|
|
|
import { TimeAndDatePlugin } from "../TimeAndDate/TimeAndDatePlugin";
|
2021-06-06 23:51:32 +02:00
|
|
|
import { zeppelinGuildPlugin } from "../ZeppelinPluginBlueprint";
|
|
|
|
import { ArchiveChannelCmd } from "./commands/ArchiveChannelCmd";
|
|
|
|
import { ChannelArchiverPluginType } from "./types";
|
2020-07-22 22:33:10 +02:00
|
|
|
|
2021-05-23 14:35:16 +03:00
|
|
|
export const ChannelArchiverPlugin = zeppelinGuildPlugin<ChannelArchiverPluginType>()({
|
|
|
|
name: "channel_archiver",
|
2020-07-22 22:33:10 +02:00
|
|
|
showInDocs: false,
|
2020-08-19 00:19:12 +03:00
|
|
|
|
2021-08-18 19:33:22 +03:00
|
|
|
dependencies: () => [TimeAndDatePlugin],
|
2020-07-30 20:10:50 +03:00
|
|
|
configSchema: t.type({}),
|
2020-07-22 22:33:10 +02:00
|
|
|
|
|
|
|
// prettier-ignore
|
|
|
|
commands: [
|
|
|
|
ArchiveChannelCmd,
|
2021-05-23 17:13:11 +03:00
|
|
|
]
|
2020-07-22 22:33:10 +02:00
|
|
|
});
|