🐛 fix ready members payload

This commit is contained in:
Flam3rboy
2021-09-04 11:25:40 +02:00
parent 4de2140058
commit 82341300fc
3 changed files with 21 additions and 5 deletions
+9 -1
View File
@@ -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 {
-1
View File
@@ -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 ".";