fix volume issue
This commit is contained in:
parent
d36f528518
commit
3d908e53d1
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ class Queue<T = unknown> {
|
||||||
|
|
||||||
setVolume(amount: number) {
|
setVolume(amount: number) {
|
||||||
if (!this.connection) return false;
|
if (!this.connection) return false;
|
||||||
|
this.options.initialVolume = amount;
|
||||||
return this.connection.setVolume(amount);
|
return this.connection.setVolume(amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue