mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +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
|
||||
* @type {object}
|
||||
* @type {Object}
|
||||
*/
|
||||
this.data = {};
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class VoiceConnection extends EventEmitter {
|
||||
|
||||
/**
|
||||
* The authentication data needed to connect to the voice server
|
||||
* @type {object}
|
||||
* @type {Object}
|
||||
* @private
|
||||
*/
|
||||
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
|
||||
* @type {object}
|
||||
* @type {Object}
|
||||
* @private
|
||||
*/
|
||||
this.sockets = {};
|
||||
|
||||
@@ -16,7 +16,7 @@ class MessageCollector extends EventEmitter {
|
||||
* return false; // failed the filter test
|
||||
* }
|
||||
* ```
|
||||
* @typedef {function} CollectorFilterFunction
|
||||
* @typedef {Function} CollectorFilterFunction
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -33,7 +33,7 @@ class UserConnection {
|
||||
|
||||
/**
|
||||
* Whether the connection is revoked
|
||||
* @type {Boolean}
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.revoked = data.revoked;
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ class UserProfile {
|
||||
setup(data) {
|
||||
/**
|
||||
* If the user has Discord Premium
|
||||
* @type {Boolean}
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.premium = data.premium;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user