Skip to content
This repository has been archived by the owner on May 15, 2022. It is now read-only.

Commit

Permalink
forgot to move stuff...
Browse files Browse the repository at this point in the history
  • Loading branch information
ijsKoud committed Aug 19, 2021
1 parent b59f2fe commit 05115ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stereo-bot/lavalink",
"version": "1.0.8",
"version": "1.0.9",
"description": "An easy-to-use package for interacting with Lavalink based off Erela.js & Lavaclient",
"main": "dist/index.js",
"types": "typings/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/structures/Manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@ export class Manager extends EventEmitter {
state.sessionId = data.session_id;

if (player.channels.voice !== data.channel_id) {
player.channels.voice = data.channel_id ?? null;
player.connected = data.channel_id ? true : false;
this.emit("playerMove", {
player,
oldChannel: player.channels.voice,
newChannel: data.channel_id,
});
player.channels.voice = data.channel_id ?? null;
player.connected = data.channel_id ? true : false;
}

player.voiceState = state;
Expand Down

0 comments on commit 05115ec

Please sign in to comment.