Set firstResult to false by default

This commit is contained in:
Androz2091 2021-01-03 11:41:44 +01:00
parent 9c56976da2
commit 0a3a41ced2

View file

@ -340,7 +340,7 @@ class Player extends EventEmitter {
* @example
* client.player.play(message, "Despacito", true);
*/
async play (message, query, firstResult) {
async play (message, query, firstResult = false) {
if (this.util.isYTPlaylistLink(query)) {
return this._handlePlaylist(message, query)
}