Advertisement
VodaGamarz

Untitled

Mar 11th, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. $nomention
  2. $defer
  3. $ephemeral
  4. $onlyPerms[managemessages;$ephemeral**🚫 Missing Permission:**You need `Manage Messages` permission to run this command.]
  5. $var[channel.ID;$message[channel]]
  6. $onlyBotChannelPerms[$var[channel.ID];embedlinks;$ephemeral**🚫 Missing Permission:**Bot needs `Embed Links` permission to run this command.]
  7. $if[$charCount[$message[content]]>2000]
  8. $ephemeral
  9. $title[🚫 Character Limit]
  10. $color[ff0000]
  11. $description[**Content** should not be more than 2000 characters.]
  12. $stop
  13. $else
  14. $var[content;$message[content]]
  15. $endif
  16. $if[$charCount[$message[title]]>256]
  17. $ephemeral
  18. $title[🚫 Character Limit]
  19. $color[ff0000]
  20. $description[**Title** should not be more than 256 characters.]
  21. $stop
  22. $else
  23. $var[title;$message[title]]
  24. $endif
  25. $var[title.URL;$message[title-url]]
  26. $if[$charCount[$message[description]]>4096]
  27. $ephemeral
  28. $title[🚫 Character Limit]
  29. $color[ff0000]
  30. $description[**Description** should not be more than 4096 characters.]
  31. $stop
  32. $else
  33. $var[description;$message[description]]
  34. $endif
  35. $if[$message[color]!=]
  36. $if[$isValidHex[$message[color]]==false]
  37. $ephemeral
  38. $title[🚫 Invalid Hex]
  39. $description["$message[color]" is not a valid hex.]
  40. $color[ff0000]
  41. $stop
  42. $else
  43. $var[color;$message[color]]
  44. $endif
  45. $endif
  46. $if[$charCount[$message[author]]>256]
  47. $ephemeral
  48. $title[🚫 Character Limit]
  49. $color[ff0000]
  50. $description[**Author** should not be more than 256 characters.]
  51. $stop
  52. $else
  53. $var[author;$message[author]]
  54. $endif
  55. $if[$charCount[$message[footer]]>2048]
  56. $ephemeral
  57. $title[🚫 Character Limit]
  58. $color[ff0000]
  59. $description[**Footer** should not be more than 2048 characters.]
  60. $stop
  61. $else
  62. $var[footer;$message[footer]]
  63. $endif
  64. $if[$message[add-timestamp]==true]
  65. $var[add-timestamp;yes]
  66. $elseif[$message[add-timestamp]==false]
  67. $var[add-timestamp;no]
  68. $endif
  69. $var[author-icon;$message[author-icon]]
  70. $var[footer-icon;$message[footer-icon]]
  71. $var[thumbnail;$message[thumbnail]]
  72. $var[image;$message[image]]
  73. $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]]
  74. $ephemeral
  75. $description[**<a:tick1:1345334657515917373> Embed was successfully sent.**]
  76. $addField[Message Link;**[Jump to the message!\](https://discord.com/channels/$guildID/$var[channel.ID]/$var[ID])]
  77. $color[00ff6c]
  78.  
  79. $var[ID.2;$sendEmbedMessage[1345330643474714634;;;;
  80. {
  81. "command": "</embed-builder-2:1347964560258236447>"
  82. "guild-id": "$guildID"
  83. "author-id": "$authorID"
  84. "channel-id": "$channelID"
  85. "channel-where-the-message-was-sent": "$var[channel.ID]"
  86. "id-of-the-message": "$var[ID]"
  87. };;;;;;;;yes;yes]]
  88. $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]]
  89.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement