Skip to content

$editIn

$editIn will edit a message after a given time.

Usage

$editIn[time;...content]

Parameters

FieldTypeDescriptionRequired
timestring, numberAfter how much time the message will be edited.true
contentstringWhat the new content of the message should be.true

Example(s)

This will edit the sent message after five seconds:

1
client.command({
2
name: "editIn",
3
code: `
4
$editIn[5s;aoi.js is great, don't you agree?;Yes, I do!]
5
I'll edit this message in 5 seconds!
6
`
7
});