diff options
Diffstat (limited to 'src/util/entities/Guild.ts')
-rw-r--r-- | src/util/entities/Guild.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Guild.ts b/src/util/entities/Guild.ts index c835f5fc..b08e37d1 100644 --- a/src/util/entities/Guild.ts +++ b/src/util/entities/Guild.ts @@ -26,7 +26,7 @@ import { } from "typeorm"; import { Config, handleFile, Snowflake } from ".."; import { Ban } from "./Ban"; -import { BaseClass } from "./BaseClass"; +import { EntityCache } from "../cache"; import { Channel } from "./Channel"; import { Emoji } from "./Emoji"; import { Invite } from "./Invite"; @@ -67,7 +67,7 @@ export const PublicGuildRelations = [ ]; @Entity("guilds") -export class Guild extends BaseClass { +export class Guild extends EntityCache { @Column({ nullable: true }) @RelationId((guild: Guild) => guild.afk_channel) afk_channel_id?: string; |