DB-Script
Discord Server
NPM
Search…
DB-Script
Getting Started
NPM Updates
Known Bugs
Functionalities
Bot Functions
Events
Functions
Action
Compacts
Conditions
Data
Embeds
Limiters
Music
$disconnect
$isPaused
$loopQueue
$loopSong
$pause
$play
$queue
$queueLength
$resume
$skip
$stop
$trackInfo
$volume
Variables
Guides
Other
Contributors
Discord Server
FAQs
Staff
Powered By
GitBook
$volume
Sets the volume of the currently playing audio to the desired level.
FUNCTION USAGE
$volume[number]
Properties:
number
- The number to set the volume to.
0 - 100
​
Going over 100 can cause janky audio.
Example 2: Sets the volume to the maximum level.
1
name: "volume",
2
code: `
3
$volume[100]
4
`
5
})
Copied!
Example 2: Sets the volume to the desired level.
1
bot.Command({
2
name: "volume",
3
code: `
4
$volume[$message[]]
5
`
6
})
Copied!
Previous
$trackInfo
Next
Variables
Last modified
1yr ago
Copy link
Contents
Properties: