$editMessage
$editMessage
will edit a given message.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
messageID | number | The message that should be edited. | true |
content | string | The content of the new message. | true |
channelID? | number | The channel ID of where the message is located in. | false |
You can only edit messages that were sent by the bot itself.
Example(s)
This will edit the sent message after five seconds: ( works the same way as $editIn
)