mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-08 16:15:04 +00:00
feat: add missing info.configSchemas
This commit is contained in:
parent
db52c61df4
commit
3b0a0b311d
19 changed files with 46 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
import { ZeppelinPluginInfo } from "../../types.js";
|
||||
import { zGuildInfoSaverConfig } from "./types.js";
|
||||
|
||||
export const guildInfoSaverPluginInfo: ZeppelinPluginInfo = {
|
||||
prettyName: "Guild info saver",
|
||||
showInDocs: false,
|
||||
configSchema: zGuildInfoSaverConfig,
|
||||
};
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
import { BasePluginType } from "knub";
|
||||
import { z } from "zod";
|
||||
|
||||
export const zGuildInfoSaverConfig = z.strictObject({});
|
||||
|
||||
export interface GuildInfoSaverPluginType extends BasePluginType {
|
||||
config: z.infer<typeof zGuildInfoSaverConfig>;
|
||||
state: {
|
||||
updateInterval: NodeJS.Timeout;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue