diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-02-19 21:19:41 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-02-19 21:19:41 +0100 |
commit | fafa4dedb2b212cf58bbceec2ed468d03e0c2175 (patch) | |
tree | 64177f438939847e284e85d4d0a453de84936f2e /src/gateway/opcodes/Identify.ts | |
parent | Implement default avatars #979 (diff) | |
download | server-dev/dsharpplus-minimum-endpoints.tar.xz |
Get DSharpPlus up and running. dev/dsharpplus-minimum-endpoints
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'src/gateway/opcodes/Identify.ts')
-rw-r--r-- | src/gateway/opcodes/Identify.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index 030ca66e..6227b578 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -95,6 +95,8 @@ export async function onIdentify(this: WebSocket, data: Payload) { "guild.emojis", "guild.roles", "guild.stickers", + "guild.members", //root@Rory - 19/02/2023 - required for DSharpPlus + "guild.members.user", //root@Rory - 19/02/2023 - required for DSharpPlus "user", "roles", ], @@ -163,6 +165,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { let guilds: Partial<Guild>[] = members.map((x) => ({ ...x.guild, joined_at: x.joined_at, + presences: [], //root@Rory - 19/02/2023 - required for DSharpPlus })); const pending_guilds: typeof guilds = []; |