Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #35 from Gorillas-Team/dev
Browse files Browse the repository at this point in the history
1.2.0
  • Loading branch information
Psykka authored Aug 12, 2020
2 parents 869b7df + e9c21e7 commit 1a18247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/GorilinkManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class GorilinkManager extends EventEmitter {
})

const player = this.players.get(guild)
if (!player) throw false
if (!player) return false

player.removeAllListeners()
player.send('destroy')
Expand Down

0 comments on commit 1a18247

Please sign in to comment.