diff --git a/src/Player.js b/src/Player.js index 8db56cf..f06c56d 100644 --- a/src/Player.js +++ b/src/Player.js @@ -171,7 +171,7 @@ class Player extends EventEmitter { }).catch(() => {}) } - if (tracks.length === 0) throw new Error('No tracks found for the specified query.') + if (tracks.length === 0) this.emit('noResults', message, query) this.emit('searchResults', message, query, tracks)