mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
fix #3150: can now create dispatcher with 0 volume
This commit is contained in:
parent
be2f78851f
commit
745e18b823
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue