✨ Set firstResult to false by default
This commit is contained in:
parent
9c56976da2
commit
0a3a41ced2
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ class Player extends EventEmitter {
|
||||||
* @example
|
* @example
|
||||||
* client.player.play(message, "Despacito", true);
|
* client.player.play(message, "Despacito", true);
|
||||||
*/
|
*/
|
||||||
async play (message, query, firstResult) {
|
async play (message, query, firstResult = false) {
|
||||||
if (this.util.isYTPlaylistLink(query)) {
|
if (this.util.isYTPlaylistLink(query)) {
|
||||||
return this._handlePlaylist(message, query)
|
return this._handlePlaylist(message, query)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue