feat: Update Gateway Opcodes

This commit is contained in:
Elysia
2023-02-16 11:55:35 +07:00
parent e683819cf0
commit c4abe27694
4 changed files with 16 additions and 7 deletions

View File

@@ -154,7 +154,7 @@ module.exports = async (client, { d: data }, shard) => {
for (const guild of largeGuilds) {
await client.sleep(client.options.messageCreateEventGuildTimeout);
client.ws.broadcast({
op: Opcodes.LAZY_REQUEST,
op: Opcodes.GUILD_SUBSCRIPTIONS,
d: {
guild_id: guild.id,
typing: true,