From 53d2b18f7f73d5696fb7cd86d1c164a790dfdcc3 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 14 Jul 2021 21:22:09 -0400 Subject: started moving over some other commands --- src/lib/models/Guild.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/lib/models') diff --git a/src/lib/models/Guild.ts b/src/lib/models/Guild.ts index f6aa1a4..43fcd64 100644 --- a/src/lib/models/Guild.ts +++ b/src/lib/models/Guild.ts @@ -6,17 +6,13 @@ import { BaseModel } from './BaseModel'; export interface GuildModel { id: string; prefix: string; - autoPublishChannels: string[]; + autoPublishChannels: Snowflake[]; blacklistedChannels: Snowflake[]; welcomeChannel: Snowflake; muteRole: Snowflake; punishmentEnding: string; } -// export type GuildModelCreationAttributes = Optional< -// GuildModel, -// 'prefix' | 'autoPublishChannels' | 'blacklistedChannels' | 'welcomeChannel' | 'muteRole' | 'punishmentEnding' -// >; export interface GuildModelCreationAttributes { id: string; prefix?: string; @@ -30,7 +26,7 @@ export interface GuildModelCreationAttributes { export class Guild extends BaseModel implements GuildModel { id!: string; prefix!: string; - autoPublishChannels: string[]; + autoPublishChannels: Snowflake[]; blacklistedChannels: Snowflake[]; welcomeChannel: Snowflake; muteRole: Snowflake; -- cgit