mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
Capitalise two letters
This commit is contained in:
@@ -150,7 +150,7 @@ class WebSocketManager extends EventEmitter {
|
|||||||
this._sendNewIdentify();
|
this._sendNewIdentify();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.client.emit('debug', 'identifying as resumed session');
|
this.client.emit('debug', 'Identifying as resumed session');
|
||||||
const payload = {
|
const payload = {
|
||||||
token: this.client.token,
|
token: this.client.token,
|
||||||
session_id: this.sessionID,
|
session_id: this.sessionID,
|
||||||
@@ -173,7 +173,7 @@ class WebSocketManager extends EventEmitter {
|
|||||||
if (this.client.options.shard_count > 0) {
|
if (this.client.options.shard_count > 0) {
|
||||||
payload.shard = [Number(this.client.options.shard_id), Number(this.client.options.shard_count)];
|
payload.shard = [Number(this.client.options.shard_id), Number(this.client.options.shard_count)];
|
||||||
}
|
}
|
||||||
this.client.emit('debug', 'identifying as new session');
|
this.client.emit('debug', 'Identifying as new session');
|
||||||
this.send({
|
this.send({
|
||||||
op: Constants.OPCodes.IDENTIFY,
|
op: Constants.OPCodes.IDENTIFY,
|
||||||
d: payload,
|
d: payload,
|
||||||
|
|||||||
Reference in New Issue
Block a user