summary refs log tree commit diff
path: root/src/util/entities/Guild.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-27 18:51:43 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-27 18:51:43 +1000
commitadc2465f56f4f60fa8348d11330c42148fa779cb (patch)
treebb6dd2516376cb33b332776c27023d406b9bd227 /src/util/entities/Guild.ts
parentclient patcher stuff (diff)
downloadserver-adc2465f56f4f60fa8348d11330c42148fa779cb.tar.xz
Don't fetch all members in guild in Member.addToGuild
Diffstat (limited to 'src/util/entities/Guild.ts')
-rw-r--r--src/util/entities/Guild.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Guild.ts b/src/util/entities/Guild.ts
index 8854fec0..169921be 100644
--- a/src/util/entities/Guild.ts
+++ b/src/util/entities/Guild.ts
@@ -43,11 +43,11 @@ import { Webhook } from "./Webhook";
 export const PublicGuildRelations = [
 	"channels",
 	"emojis",
-	"members",
 	"roles",
 	"stickers",
 	"voice_states",
-	"members.user",
+	// "members",		// TODO: These are public, but all members should not be fetched.
+	// "members.user",
 ];
 
 @Entity("guilds")