aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/models')
-rw-r--r--src/lib/models/Guild.ts8
1 files changed, 2 insertions, 6 deletions
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<GuildModel, GuildModelCreationAttributes> implements GuildModel {
id!: string;
prefix!: string;
- autoPublishChannels: string[];
+ autoPublishChannels: Snowflake[];
blacklistedChannels: Snowflake[];
welcomeChannel: Snowflake;
muteRole: Snowflake;