Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $nomention
- $defer
- $ephemeral
- $onlyPerms[managemessages;$ephemeral**🚫 Missing Permission:**You need `Manage Messages` permission to run this command.]
- $var[channel.ID;$message[channel]]
- $onlyBotChannelPerms[$var[channel.ID];embedlinks;$ephemeral**🚫 Missing Permission:**Bot needs `Embed Links` permission to run this command.]
- $if[$charCount[$message[content]]>2000]
- $ephemeral
- $title[🚫 Character Limit]
- $color[ff0000]
- $description[**Content** should not be more than 2000 characters.]
- $stop
- $else
- $var[content;$message[content]]
- $endif
- $if[$charCount[$message[title]]>256]
- $ephemeral
- $title[🚫 Character Limit]
- $color[ff0000]
- $description[**Title** should not be more than 256 characters.]
- $stop
- $else
- $var[title;$message[title]]
- $endif
- $var[title.URL;$message[title-url]]
- $if[$charCount[$message[description]]>4096]
- $ephemeral
- $title[🚫 Character Limit]
- $color[ff0000]
- $description[**Description** should not be more than 4096 characters.]
- $stop
- $else
- $var[description;$message[description]]
- $endif
- $if[$message[color]!=]
- $if[$isValidHex[$message[color]]==false]
- $ephemeral
- $title[🚫 Invalid Hex]
- $description["$message[color]" is not a valid hex.]
- $color[ff0000]
- $stop
- $else
- $var[color;$message[color]]
- $endif
- $endif
- $if[$charCount[$message[author]]>256]
- $ephemeral
- $title[🚫 Character Limit]
- $color[ff0000]
- $description[**Author** should not be more than 256 characters.]
- $stop
- $else
- $var[author;$message[author]]
- $endif
- $if[$charCount[$message[footer]]>2048]
- $ephemeral
- $title[🚫 Character Limit]
- $color[ff0000]
- $description[**Footer** should not be more than 2048 characters.]
- $stop
- $else
- $var[footer;$message[footer]]
- $endif
- $if[$message[add-timestamp]==true]
- $var[add-timestamp;yes]
- $elseif[$message[add-timestamp]==false]
- $var[add-timestamp;no]
- $endif
- $var[author-icon;$message[author-icon]]
- $var[footer-icon;$message[footer-icon]]
- $var[thumbnail;$message[thumbnail]]
- $var[image;$message[image]]
- $var[ID;$sendEmbedMessage[$var[channel.ID];$var[content];$var[title];$var[title.URL];$var[description];$var[color];$var[author];$var[author-icon];$var[footer];$var[footer-icon];$var[thumbnail];$var[image];$var[add-timestamp];yes]]
- $ephemeral
- $description[**<a:tick1:1345334657515917373> Embed was successfully sent.**]
- $addField[Message Link;**[Jump to the message!\](https://discord.com/channels/$guildID/$var[channel.ID]/$var[ID])]
- $color[00ff6c]
- $var[ID.2;$sendEmbedMessage[1345330643474714634;;;;
- {
- "command": "</embed-builder-2:1347964560258236447>"
- "guild-id": "$guildID"
- "author-id": "$authorID"
- "channel-id": "$channelID"
- "channel-where-the-message-was-sent": "$var[channel.ID]"
- "id-of-the-message": "$var[ID]"
- };;;;;;;;yes;yes]]
- $sendEmbedMessage[1345330643474714634;$var[content];$var[title];$var[title.URL];$var[description];$var[color];$var[author];$var[author-icon];$var[footer];$var[footer-icon];$var[thumbnail];$var[image];$var[add-timestamp];yes]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement