$volume
$volume
will set or return the current volume.
Usage
$volume[value?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
value? | number | New volume, can’t be higher than 200 and can’t be lower then 0 | false |
Example(s)
This will set or return the current volume
1client.command({2 name: 'volume',3 code: `4 $volume // return 805
6 $volume[80]7 `8});
This will set or return the current volume
1module.exports = [{2 name: "volume",3 code: `4 $volume // return 805
6 $volume[80]7 `8}]