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 | 82341300fce65a23f1f5c425b31dd9cb645f7f83 (patch) | |
tree | c2c378fa46b3fe26602619c107eff6b68f55ddab /util | |
parent | :bug: fix invites (diff) | |
download | server-82341300fce65a23f1f5c425b31dd9cb645f7f83.tar.xz |
:bug: fix ready members payload
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 "."; |