From b795a6e51b9ff69ed958f985908f81aff73022dc Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 20 Jul 2021 16:35:27 -0400 Subject: fixed caching --- src/lib/models/Guild.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/models') diff --git a/src/lib/models/Guild.ts b/src/lib/models/Guild.ts index 050b4c7..f8ebe46 100644 --- a/src/lib/models/Guild.ts +++ b/src/lib/models/Guild.ts @@ -4,7 +4,7 @@ import { BushClient } from '../extensions/discord-akairo/BushClient'; import { BaseModel } from './BaseModel'; export interface GuildModel { - id: string; + id: Snowflake; prefix: string; autoPublishChannels: Snowflake[]; blacklistedChannels: Snowflake[]; @@ -17,7 +17,7 @@ export interface GuildModel { } export interface GuildModelCreationAttributes { - id: string; + id: Snowflake; prefix?: string; autoPublishChannels?: Snowflake[]; blacklistedChannels?: Snowflake[]; @@ -30,7 +30,7 @@ export interface GuildModelCreationAttributes { } export class Guild extends BaseModel implements GuildModel { - id!: string; + id!: Snowflake; prefix!: string; autoPublishChannels: Snowflake[]; blacklistedChannels: Snowflake[]; -- cgit