Skip to content

$messageSlice

$messageSlice will slice a message.

Usage

$messageSlice[from;to?]

Parameters

FieldTypeDescriptionRequired
fromnumberStarting point where to slice the message.true
to?numberEnding point where slicing ends.false

Example(s)

This will slice the message from the first message to the fifth message:

1
client.command({
2
name: "messageSlice",
3
code: `
4
$messageSlice[1;5]
5
`
6
});