Advertisement
VodaGamarz

Untitled

Mar 11th, 2025
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. $nomention
  2. $onlyPerms[managemessages;$ephemeral**🚫 Missing Permission:**You need `Manage Messages` permission to run this command.]
  3. $var[channel.ID;$message[channel]]
  4. $onlyBotChannelPerms[$var[channel.ID];embedlinks;$ephemeral**🚫 Missing Permission:**Bot needs `Embed Links` permission to run this command.]
  5. $if[$charCount[$message[content]]>2000]
  6. $ephemeral
  7. $title[🚫 Character Limit]
  8. $color[ff0000]
  9. $description[**Content** should not be more than 2000 characters.]
  10. $stop
  11. $else
  12. $var[content;$message[content]]
  13. $endif
  14. $if[$charCount[$message[title]]>256]
  15. $ephemeral
  16. $title[🚫 Character Limit]
  17. $color[ff0000]
  18. $description[**Title** should not be more than 256 characters.]
  19. $stop
  20. $else
  21. $var[title;$message[title]]
  22. $endif
  23. $var[title.URL;$message[title-url]]
  24. $if[$charCount[$message[description]]>4096]
  25. $ephemeral
  26. $title[🚫 Character Limit]
  27. $color[ff0000]
  28. $description[**Description** should not be more than 4096 characters.]
  29. $stop
  30. $else
  31. $var[description;$message[description]]
  32. $endif
  33. $if[$message[color]!=]
  34. $if[$isValidHex[$message[color]]==false]
  35. $ephemeral
  36. $title[🚫 Invalid Hex]
  37. $description["$message[color]" is not a valid hex.]
  38. $color[ff0000]
  39. $stop
  40. $else
  41. $var[color;$message[color]]
  42. $endif
  43. $endif
  44. $if[$charCount[$message[author]]>256]
  45. $ephemeral
  46. $title[🚫 Character Limit]
  47. $color[ff0000]
  48. $description[**Author** should not be more than 256 characters.]
  49. $stop
  50. $else
  51. $var[author;$message[author]]
  52. $endif
  53. $if[$charCount[$message[footer]]>2048]
  54. $ephemeral
  55. $title[🚫 Character Limit]
  56. $color[ff0000]
  57. $description[**Footer** should not be more than 2048 characters.]
  58. $stop
  59. $else
  60. $var[footer;$message[footer]]
  61. $endif
  62. $if[$message[add-timestamp]==true]
  63. $var[add-timestamp;yes]
  64. $elseif[$message[add-timestamp]==false]
  65. $var[add-timestamp;no]
  66. $endif
  67. $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];no]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement