diff options
author | Samuel (Flam3rboy) <github@samuelscheit.com> | 2023-03-30 18:13:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 18:13:34 +0200 |
commit | 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb (patch) | |
tree | 807384e6d19111a4e038113854bb28791814a8c7 /src/util/entities/Guild.ts | |
parent | SPACEBAR (diff) | |
parent | feat: add DB_LOGGING env (diff) | |
download | server-69ea71aa9e0bd2e5a98904a66fba0ad3745707cb.tar.xz |
Merge pull request #1008 from spacebarchat/dev/samuel
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 b1693838..7253f118 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; |