diff --git a/src/client/Client.js b/src/client/Client.js index 3bb505cc8015..ebdce4ee216c 100644 --- a/src/client/Client.js +++ b/src/client/Client.js @@ -349,7 +349,7 @@ class Client extends EventEmitter { /** * Obtains the available voice regions from Discord. - * @returns {Collection} + * @returns {Promise>} * @example * client.fetchVoiceRegions() * .then(regions => console.log(`Available regions are: ${regions.map(region => region.name).join(', ')}`)) diff --git a/src/structures/Presence.js b/src/structures/Presence.js index da6ec23a75cf..89232af4870c 100644 --- a/src/structures/Presence.js +++ b/src/structures/Presence.js @@ -22,6 +22,12 @@ const { ActivityFlags, Endpoints } = require('../util/Constants'); */ class Presence { constructor(data = {}, client) { + /** + * The client that instantiated this + * @name Presence#client + * @type {Client} + * @readonly + */ Object.defineProperty(this, 'client', { value: client }); /**