From 832bc010c59d8d4db62d9318c7e4d7f0d03e537b Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Mon, 6 Jun 2022 10:30:06 +0700 Subject: [PATCH] Update WebSocketShard.js --- src/client/websocket/WebSocketShard.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client/websocket/WebSocketShard.js b/src/client/websocket/WebSocketShard.js index 8a979af..6f7e82c 100644 --- a/src/client/websocket/WebSocketShard.js +++ b/src/client/websocket/WebSocketShard.js @@ -622,7 +622,11 @@ class WebSocketShard extends EventEmitter { delete d.large_threshold; - this.debug(`[IDENTIFY] Shard ${this.id}/${client.options.shardCount} with intents: ${32767} :)`); + this.debug( + `[IDENTIFY] Shard ${this.id}/${client.options.shardCount} with intents: ${Intents.resolve( + client.options.intents, + )} :)`, + ); this.send({ op: Opcodes.IDENTIFY, d }, true); }