jsdoc
This commit is contained in:
parent
18e64801e8
commit
3582f1c2ad
1 changed files with 7 additions and 0 deletions
|
@ -1091,6 +1091,13 @@ export class Player extends EventEmitter {
|
||||||
return queue;
|
return queue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal method used to create queue
|
||||||
|
* @param {DiscordMessage} message The message
|
||||||
|
* @param {Track} track The track
|
||||||
|
* @returns {Promise<Queue>}
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
private _createQueue(message: Message, track: Track): Promise<Queue> {
|
private _createQueue(message: Message, track: Track): Promise<Queue> {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
const channel = message.member.voice ? message.member.voice.channel : null;
|
const channel = message.member.voice ? message.member.voice.channel : null;
|
||||||
|
|
Loading…
Reference in a new issue