From 3582f1c2ad2b8117596d02a5bc1982ba46194b2c Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Sun, 9 May 2021 22:02:01 +0545 Subject: [PATCH] jsdoc --- src/Player.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Player.ts b/src/Player.ts index f72c0cb..56279e7 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -1091,6 +1091,13 @@ export class Player extends EventEmitter { return queue; } + /** + * Internal method used to create queue + * @param {DiscordMessage} message The message + * @param {Track} track The track + * @returns {Promise} + * @private + */ private _createQueue(message: Message, track: Track): Promise { return new Promise((resolve) => { const channel = message.member.voice ? message.member.voice.channel : null;