Volume

How do i get the current volume of the bot?
2 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Shaurya
ShauryaOP3y ago
"node": "^16.14.2",
"@discordjs/voice": "^0.8.0"
"node": "^16.14.2",
"@discordjs/voice": "^0.8.0"
did this for now but it's not working:
//Get the resource
const resource = player.resource;

//Get theincreased volume
const volume = resource.volume + 5;

//Set the volume
resource.volume.setVolume(volume);
//Get the resource
const resource = player.resource;

//Get theincreased volume
const volume = resource.volume + 5;

//Set the volume
resource.volume.setVolume(volume);
oh it's player.state.resource Also, how do i get the current volume of the bot?
Want results from more Discord servers?
Add your server