mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-19 08:05:01 +00:00
Config schema and docs text changes. Fix clickable tab area in dashboard/docs.
This commit is contained in:
parent
def46941c9
commit
3a876fe1f0
5 changed files with 35 additions and 8 deletions
|
@ -2,14 +2,14 @@ import { ZeppelinPlugin } from "./ZeppelinPlugin";
|
|||
import { decorators as d, IPluginOptions } from "knub";
|
||||
import { Member, TextChannel } from "eris";
|
||||
import { renderTemplate } from "../templateFormatter";
|
||||
import { createChunkedMessage, stripObjectToScalars } from "../utils";
|
||||
import { createChunkedMessage, stripObjectToScalars, tNullable } from "../utils";
|
||||
import { LogType } from "../data/LogType";
|
||||
import { GuildLogs } from "../data/GuildLogs";
|
||||
import * as t from "io-ts";
|
||||
|
||||
const ConfigSchema = t.type({
|
||||
send_dm: t.boolean,
|
||||
send_to_channel: t.string,
|
||||
send_to_channel: tNullable(t.string),
|
||||
message: t.string,
|
||||
});
|
||||
type TConfigSchema = t.TypeOf<typeof ConfigSchema>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue