summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-04-10 17:30:19 +1000
committerGitHub <noreply@github.com>2023-04-10 17:30:19 +1000
commit6dfe88d61b2310206343b2729516bdafbf18642a (patch)
tree211af96428bb658ab31fa338b2f0e984c9b24717 /src
parentMerge pull request #1027 from ochen1/patch-4 (diff)
parentSend guild name and icon of guild through Identify gateway opcode (diff)
downloadserver-6dfe88d61b2310206343b2729516bdafbf18642a.tar.xz
Merge pull request #1025 from ochen1/patch-2
Send guild name and icon of guild through Identify gateway opcode
Diffstat (limited to 'src')
-rw-r--r--src/gateway/opcodes/Identify.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts
index de3b3cfe..98fae3ed 100644
--- a/src/gateway/opcodes/Identify.ts
+++ b/src/gateway/opcodes/Identify.ts
@@ -295,6 +295,8 @@ export async function onIdentify(this: WebSocket, data: Payload) {
 				...new ReadyGuildDTO(x).toJSON(),
 				guild_hashes: {},
 				joined_at: x.joined_at,
+				name: x.name,
+				icon: x.icon,
 			};
 		}),
 		guild_experiments: [], // TODO