Responses
messageSlice
$messageSlice — Words of the command arguments from start up to (not including) end, like JavaScript slice.
Words of the command arguments from start up to (not including) end, like JavaScript slice.
Syntax
$messageSlice[(start);(end)]
Parameters
- start (Number, optional) — Start (negative counts from the end)
- end (Number, optional) — End
Return Value
- String.
Usage
$messageSlice[start;end] → result
Example
$sendMessage[$messageSlice[start;end]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.