mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
Fix a bunch of capitalisation issues
This commit is contained in:
@@ -139,7 +139,7 @@ class PendingVoiceConnection extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An object containing data required to connect to the voice servers with
|
* An object containing data required to connect to the voice servers with
|
||||||
* @type {object}
|
* @type {Object}
|
||||||
*/
|
*/
|
||||||
this.data = {};
|
this.data = {};
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class VoiceConnection extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The authentication data needed to connect to the voice server
|
* The authentication data needed to connect to the voice server
|
||||||
* @type {object}
|
* @type {Object}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
this.authentication = pendingConnection.data;
|
this.authentication = pendingConnection.data;
|
||||||
@@ -92,7 +92,7 @@ class VoiceConnection extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Object that wraps contains the `ws` and `udp` sockets of this voice connection
|
* Object that wraps contains the `ws` and `udp` sockets of this voice connection
|
||||||
* @type {object}
|
* @type {Object}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
this.sockets = {};
|
this.sockets = {};
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class MessageCollector extends EventEmitter {
|
|||||||
* return false; // failed the filter test
|
* return false; // failed the filter test
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
* @typedef {function} CollectorFilterFunction
|
* @typedef {Function} CollectorFilterFunction
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class UserConnection {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether the connection is revoked
|
* Whether the connection is revoked
|
||||||
* @type {Boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
this.revoked = data.revoked;
|
this.revoked = data.revoked;
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ class UserProfile {
|
|||||||
setup(data) {
|
setup(data) {
|
||||||
/**
|
/**
|
||||||
* If the user has Discord Premium
|
* If the user has Discord Premium
|
||||||
* @type {Boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
this.premium = data.premium;
|
this.premium = data.premium;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user