Skip to content

Commit

Permalink
fix #3150: can now create dispatcher with 0 volume
Browse files Browse the repository at this point in the history
  • Loading branch information
amishshah committed Mar 22, 2019
1 parent be2f788 commit 745e18b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/voice/util/VolumeInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const EventEmitter = require('events');
* @extends {EventEmitter}
*/
class VolumeInterface extends EventEmitter {
constructor({ volume = 0 } = {}) {
constructor({ volume = 1 } = {}) {
super();
this.setVolume(volume || 1);
this.setVolume(volume);
}

/**
Expand Down

0 comments on commit 745e18b

Please # to comment.