mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-19 07:20:00 +00:00
18 lines
501 B
TypeScript
18 lines
501 B
TypeScript
import { zeppelinPlugin } from "../ZeppelinPluginBlueprint";
|
|
import { ChannelArchiverPluginType } from "./types";
|
|
import { ArchiveChannelCmd } from "./commands/ArchiveChannelCmd";
|
|
import * as t from "io-ts";
|
|
|
|
export const ChannelArchiverPlugin = zeppelinPlugin<ChannelArchiverPluginType>()("channel_archiver", {
|
|
showInDocs: false,
|
|
configSchema: t.type({}),
|
|
|
|
// prettier-ignore
|
|
commands: [
|
|
ArchiveChannelCmd,
|
|
],
|
|
|
|
onLoad(pluginData) {
|
|
const { state, guild } = pluginData;
|
|
},
|
|
});
|