v5.0.0
$volume
Changes volume for current playing song
This function can change the volume of the current playing song. The minimum number is 0 and the highest number is what ever you want (Just be careful as it can cause earrape)
Function Usage:
1
$volume[number]
Copied!
Using it in a command:
1
bot.command({
2
name: "volume",
3
code: `
4
$volume[50]
5
`
6
})
7
// Sets the volume to 50%
Copied!
You can also set the volume by user inputs by using $message​
1
bot.command({
2
name: "volume",
3
code: `
4
$volume[$message]
5
`
6
})
7
// Sets the volume to what ever the user inputs
Copied!
To see the current volume, just have $volume
Last modified 1mo ago
Copy link
Edit on GitHub