Skip to content

Commit 249c7ae

Browse files
committed
0.0.1
1 parent e5bc567 commit 249c7ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/functions/player.js

+3
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ module.exports = class Player {
265265
stop() {
266266
const connection = this.connection;
267267
const player = audioPlayer.get(this.data.guildId);
268+
if (!player)
269+
return this;
270+
268271
player.stop();
269272
connection.destroy();
270273
audioPlayer.delete(this.data.guildId);

0 commit comments

Comments
 (0)