From b2197d4f486745fedd71ddcf71480acb997a2964 Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Thu, 17 Jun 2021 19:11:30 +0545 Subject: [PATCH] jsdoc correction --- src/Player.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Player.ts b/src/Player.ts index 7e4b9d0..f0f5791 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -27,14 +27,14 @@ class DiscordPlayer extends EventEmitter { /** * Creates new Discord Player - * @param {Discord.Client} client The Discord Client + * @param {Client} client The Discord Client */ constructor(client: Client, options: DiscordPlayerInitOptions = {}) { super(); /** * The discord.js client - * @type {Discord.Client} + * @type {Client} */ this.client = client; @@ -139,7 +139,7 @@ class DiscordPlayer extends EventEmitter { /** * Search tracks * @param {string|Track} query The search query - * @param {Discord.User} requestedBy The person who requested track search + * @param {User} requestedBy The person who requested track search * @returns {Promise<{playlist?: Playlist; tracks: Track[]}>} */ async search(query: string | Track, options: SearchOptions) {