$convertToBytes
Converts a number of bytes from the format of the given option.

FUNCTION USAGE:

    $convertToBytes[input;format]

PROPERTIES:

input - The input must be a number. format - The format that the number will be converted to.
Example 1: $converToBytes[10;mb] is equal to 10000000 bytes
1
bot.Command({
2
name: "bytes",
3
code: `
4
$convertToBytes[10;mb]
5
6
`
7
})
Copied!
Last modified 1mo ago
Copy link
Contents
PROPERTIES: