How can I change audioresource's volume while playing?

How can I change audioresource's volume while playing?
8 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
duck
duck3y ago
as long as inlineVolume is enabled, <AudioResource>.volume.setVolume() will work, even while playing
Fyphen
FyphenOP3y ago
Can I use it out of player's event?
duck
duck3y ago
yes
Fyphen
FyphenOP3y ago
Oh I see Ok thank you but how can i enable inlineVolume?
duck
duck3y ago
inlineVolume: true in the createAudioResource options
d.js docs
d.js docs3y ago
guide Library: Audio Resources read more
Fyphen
FyphenOP3y ago
I seee Thank you ma'an

Did you find this page helpful?