Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowLp174 committed Sep 21, 2022
1 parent 3d74798 commit d1ef475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Revoice.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class VoiceConnection {
});
}
async leave() {
this.updateState(Revoice.State.OFFLINE);
await this.disconnect();
if (this.media) this.media.disconnect();
this.emit("leave");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "revoice.js",
"version": "0.1.731",
"version": "0.1.732",
"description": "A voice module for Revolt",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d1ef475

Please sign in to comment.