diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-04 11:25:40 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-04 11:25:40 +0200 |
commit | bf81e9c352e6ab1b76dae6a50cc768281f5c0bf4 (patch) | |
tree | 7edd57bb27d539a0cbf53e73a495733b72f1a519 /util/src/entities | |
parent | :bug: fix invites (diff) | |
download | server-bf81e9c352e6ab1b76dae6a50cc768281f5c0bf4.tar.xz |
:bug: fix ready members payload
Diffstat (limited to 'util/src/entities')
-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 "."; |