From 361547a5888813f1c230a1ba474d454b6c27f87a Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Thu, 15 Dec 2016 20:10:38 -0500 Subject: [PATCH] Fix a bunch of capitalisation issues --- src/client/voice/ClientVoiceManager.js | 2 +- src/client/voice/VoiceConnection.js | 4 ++-- src/structures/MessageCollector.js | 2 +- src/structures/UserConnection.js | 2 +- src/structures/UserProfile.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/client/voice/ClientVoiceManager.js b/src/client/voice/ClientVoiceManager.js index 09e9982a1..ea8374540 100644 --- a/src/client/voice/ClientVoiceManager.js +++ b/src/client/voice/ClientVoiceManager.js @@ -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 = {}; diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index e3f1c4c7d..ac44ff866 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -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 = {}; diff --git a/src/structures/MessageCollector.js b/src/structures/MessageCollector.js index 72567d731..f84ecbda3 100644 --- a/src/structures/MessageCollector.js +++ b/src/structures/MessageCollector.js @@ -16,7 +16,7 @@ class MessageCollector extends EventEmitter { * return false; // failed the filter test * } * ``` - * @typedef {function} CollectorFilterFunction + * @typedef {Function} CollectorFilterFunction */ /** diff --git a/src/structures/UserConnection.js b/src/structures/UserConnection.js index 70814de01..6ee9fc5b4 100644 --- a/src/structures/UserConnection.js +++ b/src/structures/UserConnection.js @@ -33,7 +33,7 @@ class UserConnection { /** * Whether the connection is revoked - * @type {Boolean} + * @type {boolean} */ this.revoked = data.revoked; diff --git a/src/structures/UserProfile.js b/src/structures/UserProfile.js index 734a9913e..77f097ca9 100644 --- a/src/structures/UserProfile.js +++ b/src/structures/UserProfile.js @@ -38,7 +38,7 @@ class UserProfile { setup(data) { /** * If the user has Discord Premium - * @type {Boolean} + * @type {boolean} */ this.premium = data.premium;