diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-04-10 17:30:19 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 17:30:19 +1000 |
commit | 6dfe88d61b2310206343b2729516bdafbf18642a (patch) | |
tree | 211af96428bb658ab31fa338b2f0e984c9b24717 | |
parent | Merge pull request #1027 from ochen1/patch-4 (diff) | |
parent | Send guild name and icon of guild through Identify gateway opcode (diff) | |
download | server-6dfe88d61b2310206343b2729516bdafbf18642a.tar.xz |
Merge pull request #1025 from ochen1/patch-2
Send guild name and icon of guild through Identify gateway opcode
-rw-r--r-- | src/gateway/opcodes/Identify.ts | 2 |
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 |