mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 00:35:02 +00:00
allow yaml aliases on config
This commit is contained in:
parent
a9e0466e33
commit
c06d646eec
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
|||
import { BaseConfig, Knub } from "knub";
|
||||
import * as t from "io-ts";
|
||||
import { Message } from "eris";
|
||||
|
||||
export interface ZeppelinGuildConfig extends BaseConfig<any> {
|
||||
success_emoji?: string;
|
||||
|
@ -24,6 +23,9 @@ export const ZeppelinGuildConfigSchema = t.type({
|
|||
// Deprecated
|
||||
timezone: t.string,
|
||||
date_formats: t.unknown,
|
||||
|
||||
// YAML Stuff
|
||||
aliases: t.unknown,
|
||||
});
|
||||
export const PartialZeppelinGuildConfigSchema = t.partial(ZeppelinGuildConfigSchema.props);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue