$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
bot.Command({
name: "bytes",
code: `
$convertToBytes[10;mb]
`
})
Copy link