$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!
Last modified 7mo ago
Copy link
Contents
Properties: