Document + Debug Websocket
This commit is contained in:
parent
d78a10ed76
commit
f9f74cc649
@ -57,7 +57,7 @@ await groupDM.delete(); // Leave
|
||||
|
||||
## Join Guild using Invite
|
||||
<details>
|
||||
<summary>Click to show</summary>
|
||||
<summary><strong>Click to show</strong></summary>
|
||||
|
||||
```js
|
||||
await client.fetchInvite('code').then(async invite => {
|
||||
@ -73,7 +73,7 @@ await client.fetchInvite('code').then(async invite => {
|
||||
|
||||
## Set Community
|
||||
<details>
|
||||
<summary>Click to show</summary>
|
||||
<summary><strong>Click to show</strong></summary>
|
||||
|
||||
```js
|
||||
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
|
||||
<details>
|
||||
<summary>Click to show</summary>
|
||||
<summary><strong>Click to show</strong></summary>
|
||||
|
||||
```js
|
||||
// HypeSquad
|
||||
|
@ -614,7 +614,7 @@ class WebSocketShard extends EventEmitter {
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user