diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-20 16:35:27 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-20 16:35:27 -0400 |
commit | b795a6e51b9ff69ed958f985908f81aff73022dc (patch) | |
tree | 37b51353f6be564586fb0b4aae8692429497608d /src/lib/models | |
parent | b228c3b222f37ceaa888f926811e6cfadf33e24a (diff) | |
download | tanzanite-b795a6e51b9ff69ed958f985908f81aff73022dc.tar.gz tanzanite-b795a6e51b9ff69ed958f985908f81aff73022dc.tar.bz2 tanzanite-b795a6e51b9ff69ed958f985908f81aff73022dc.zip |
fixed caching
Diffstat (limited to 'src/lib/models')
-rw-r--r-- | src/lib/models/Guild.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<GuildModel, GuildModelCreationAttributes> implements GuildModel { - id!: string; + id!: Snowflake; prefix!: string; autoPublishChannels: Snowflake[]; blacklistedChannels: Snowflake[]; |