From c06d646eec385f088f952d494b7ad8ede5c66fc1 Mon Sep 17 00:00:00 2001 From: Almeida Date: Wed, 2 Jun 2021 19:30:19 +0100 Subject: [PATCH] allow yaml aliases on config --- backend/src/types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/types.ts b/backend/src/types.ts index d9fc3803..9d7a844c 100644 --- a/backend/src/types.ts +++ b/backend/src/types.ts @@ -1,6 +1,5 @@ import { BaseConfig, Knub } from "knub"; import * as t from "io-ts"; -import { Message } from "eris"; export interface ZeppelinGuildConfig extends BaseConfig { 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);