$messageSlice
$messageSlice
will slice a message.
Usage
$messageSlice[from;to?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
from | number | Starting point where to slice the message. | true |
to? | number | Ending point where slicing ends. | false |
Example(s)
This will slice the message from the first message to the fifth message:
1client.command({2 name: "messageSlice",3 code: `4 $messageSlice[1;5]5 `6});