diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/src/entities/Guild.ts | 10 | ||||
-rw-r--r-- | util/src/entities/Member.ts | 1 |
2 files changed, 9 insertions, 2 deletions
diff --git a/util/src/entities/Guild.ts b/util/src/entities/Guild.ts index 434699ac..c569d536 100644 --- a/util/src/entities/Guild.ts +++ b/util/src/entities/Guild.ts @@ -17,7 +17,15 @@ import { Webhook } from "./Webhook"; // TODO: stage_instances // TODO: threads -export const PublicGuildRelations = ["channels", "emojis", "members", "roles", "stickers", "voice_states"]; +export const PublicGuildRelations = [ + "channels", + "emojis", + "members", + "roles", + "stickers", + "voice_states", + "members.user", +]; @Entity("guilds") export class Guild extends BaseClass { diff --git a/util/src/entities/Member.ts b/util/src/entities/Member.ts index 4cdd3421..38352890 100644 --- a/util/src/entities/Member.ts +++ b/util/src/entities/Member.ts @@ -24,7 +24,6 @@ import { } from "../interfaces"; import { HTTPError } from "lambert-server"; import { Role } from "./Role"; -import { Snowflake } from "../util/Snowflake"; import { BaseClassWithoutId } from "./BaseClass"; import { PublicGuildRelations } from "."; |