$cloneEmbed
$cloneEmbed
will clone an embed.
Usage
$cloneEmbed[index;messageID;channelID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
index | string | The index of the embed which you want to clone. 1. all 2. number | true |
messageID | number | The ID of the embed message that will be cloned. | true |
channelID? | number | The ID of the channel that you sent the embed message. | false |
Example(s)
This will clone the previous embed and edit the title after 15 seconds:
1client.command({2 name: "cloneEmbed",3 code: `4 $title[Bye!]5 $cloneEmbed[all;$get[messageID];$channelID]6
7 $wait[15s]8 $let[messageID;$sendMessage[{newEmbed: {title:Hello!} {description:I'll edit this message in 15 seconds.}};true]]9 `10});