diff options
author | Puyodead1 <puyodead@proton.me> | 2023-03-24 21:21:21 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-04-13 15:28:41 -0400 |
commit | c2ce88dee726bb6c1993bf4615aa866d089ca494 (patch) | |
tree | f5b3fe7d7d1e23b5f2ce6540c7e78d34b4c1e43f /src/util/entities | |
parent | Update openapi.json (diff) | |
download | server-c2ce88dee726bb6c1993bf4615aa866d089ca494.tar.xz |
guilds
Diffstat (limited to 'src/util/entities')
-rw-r--r-- | src/util/entities/Guild.ts | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/util/entities/Guild.ts b/src/util/entities/Guild.ts index e8454986..7d7ae1ea 100644 --- a/src/util/entities/Guild.ts +++ b/src/util/entities/Guild.ts @@ -24,7 +24,7 @@ import { OneToMany, RelationId, } from "typeorm"; -import { Config, handleFile, Snowflake } from ".."; +import { Config, GuildWelcomeScreen, handleFile, Snowflake } from ".."; import { Ban } from "./Ban"; import { BaseClass } from "./BaseClass"; import { Channel } from "./Channel"; @@ -270,16 +270,7 @@ export class Guild extends BaseClass { verification_level?: number; @Column({ type: "simple-json" }) - welcome_screen: { - enabled: boolean; - description: string; - welcome_channels: { - description: string; - emoji_id?: string; - emoji_name?: string; - channel_id: string; - }[]; - }; + welcome_screen: GuildWelcomeScreen; @Column({ nullable: true }) @RelationId((guild: Guild) => guild.widget_channel) |