diff options
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[]; |