Document + Debug Websocket
This commit is contained in:
		@@ -57,7 +57,7 @@ await groupDM.delete(); // Leave
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Join Guild using Invite
 | 
					## Join Guild using Invite
 | 
				
			||||||
<details>
 | 
					<details>
 | 
				
			||||||
<summary>Click to show</summary>
 | 
					<summary><strong>Click to show</strong></summary>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```js
 | 
					```js
 | 
				
			||||||
await client.fetchInvite('code').then(async invite => {
 | 
					await client.fetchInvite('code').then(async invite => {
 | 
				
			||||||
@@ -73,7 +73,7 @@ await client.fetchInvite('code').then(async invite => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Set Community
 | 
					## Set Community
 | 
				
			||||||
<details>
 | 
					<details>
 | 
				
			||||||
<summary>Click to show</summary>
 | 
					<summary><strong>Click to show</strong></summary>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```js
 | 
					```js
 | 
				
			||||||
await guild.setCommunity(stats: boolean, publicUpdatesChannel: TextChannelResolvable, rulesChannel: TextChannelResolvable, reason?: string): Promise<Guild>;
 | 
					await guild.setCommunity(stats: boolean, publicUpdatesChannel: TextChannelResolvable, rulesChannel: TextChannelResolvable, reason?: string): Promise<Guild>;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -202,7 +202,7 @@ And you can change the status 5 times every 20 seconds!
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## User & ClientUser Method
 | 
					## User & ClientUser Method
 | 
				
			||||||
<details>
 | 
					<details>
 | 
				
			||||||
<summary>Click to show</summary>
 | 
					<summary><strong>Click to show</strong></summary>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```js
 | 
					```js
 | 
				
			||||||
// HypeSquad
 | 
					// HypeSquad
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -614,7 +614,7 @@ class WebSocketShard extends EventEmitter {
 | 
				
			|||||||
      shard: [this.id, Number(client.options.shardCount)],
 | 
					      shard: [this.id, Number(client.options.shardCount)],
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this.debug(`[IDENTIFY] Shard ${this.id}/${client.options.shardCount} with intents: ${d.intents}`);
 | 
					    this.debug(`[IDENTIFY] Shard ${this.id}/${client.options.shardCount} with intents: ${32767} :)`);
 | 
				
			||||||
    this.send({ op: Opcodes.IDENTIFY, d }, true);
 | 
					    this.send({ op: Opcodes.IDENTIFY, d }, true);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user