Tutorials_for_BDFD

Embed-builder-En

Oct 14th, 2022 (edited)
661
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. __Variables__
  2. title =
  3. description=
  4. footer=
  5. image=
  6. channels=
  7. color=
  8.  
  9. __code 1__
  10. Triggers : !editembed
  11.  
  12. $nomention
  13. $reply
  14. $title[__EMBED__]
  15. $color[0400ff]
  16. $description[Welcome to the Embed Setup Wizard!
  17. Respond to the buttons to change and configure your embed!
  18.  
  19. ```
  20. ๐Ÿ“—ใ€ƒEdit Title
  21. ๐Ÿ“ƒใ€ƒ Edit description
  22. โœ๏ธใ€ƒEdit footer
  23. ๐Ÿ–ผ๏ธใ€ƒ Add picture
  24. ๐ŸŽจใ€ƒ Change color
  25. ```
  26. ```
  27. ๐Ÿ“คใ€ƒTo send the t!send embed
  28. ๐Ÿ“ฅใ€ƒRendering of Embed t!render
  29. โŒใ€ƒ Cancel t!cancel embed creation
  30. ```]
  31. $newSelectMenu[Embed;1;1; ]
  32. $addSelectMenuOption[Embed;Title;value1;Set title;no;๐Ÿ“—]
  33. $addSelectMenuOption[Embed;description;value2;edit the descriptions;no;๐Ÿ“ƒ]
  34. $addSelectMenuOption[Embed;Footer;value3;Edit footer;no;โœ๏ธ]
  35. $addSelectMenuOption[Embed;Image;value4;Set the image (a link);no;๐Ÿ–ผ๏ธ]
  36. $addSelectMenuOption[Embed;color;value5;Edit color;no;๐ŸŽจ]
  37. $addSelectMenuOption[Embed;channel;value6;Edit channel;no;๐Ÿ›‹๏ธ]
  38.  
  39.  
  40. __code 2__
  41. $onInteraction[Embed]
  42.  
  43. $nomention
  44. $reply
  45. $if[$message==value1]
  46. $title[**__EMBED__**]
  47. $color[0400ff]
  48. $description[Submit your title ๐Ÿ“—]
  49. $awaitFunc[titre;$authorID]
  50. $endif
  51.  
  52. $if[$message==value2]
  53. $title[**__EMBED__**]
  54. $color[0400ff]
  55. $description[Send your description ๐Ÿ“ƒ]
  56. $awaitFunc[description;$authorID]
  57. $endif
  58.  
  59. $if[$message==value3]
  60. $title[**__EMBED__**]
  61. $color[0400ff]
  62. $description[Send your footer โœ๏ธ]
  63. $awaitFunc[footer;$authorID]
  64. $endif
  65.  
  66. $if[$message==value4]
  67.  
  68. $title[**__EMBED__**]
  69. $color[0400ff]
  70. $description[send your picture ๐Ÿ–ผ๏ธ ]
  71. $awaitFunc[image;$authorID]
  72. $endif
  73.  
  74. $if[$message==value5]
  75. $title[**__EMBED__**]
  76. $color[0400ff]
  77. $description[Send Color๐ŸŽจ]
  78. $awaitFunc[color;$authorID]
  79. $endif
  80.  
  81. $if[$message==value6]
  82. $title[**__EMBED__**]
  83. $color[0400ff]
  84. $description[Sending channel __id__ ๐Ÿ›‹๏ธ]
  85. $awaitFunc[channel;$authorID]
  86. $endif
  87.  
  88. __Code 3__
  89. Trigger : $awaitedCommand[titre; ]
  90.  
  91. $nomention
  92. $deletecommand
  93. $deleteIn[5s]
  94. $title[**__EMBED__**]
  95. $color[0400ff]
  96. $description[the title is now : `$message`]
  97. $setUserVar[title;$message]
  98.  
  99. __Code 4__
  100. Trigger : $awaitedCommand[description; ]
  101.  
  102. $nomention
  103. $deletecommand
  104. $deleteIn[5s]
  105. $title[**ใ€ก__EMBED__**]
  106. $color[0400ff]
  107. $description[The description is now : `$message`]
  108. $setUserVar[description;$message]
  109.  
  110. __Code 5__
  111. Trigger : $awaitedCommand[footer; ]
  112.  
  113. $nomention
  114. $deletecommand
  115. $deleteIn[5s]
  116. $title[**__ใ€กEMBED__**]
  117. $color[0400ff]
  118. $description[The footer is now : `$message`]
  119. $setUserVar[footer;$message]
  120.  
  121. __code 6__
  122. Trigger : $awaitedCommand[image; ]
  123.  
  124. $nomention
  125. $deletecommand
  126. $deleteIn[5s]
  127. $title[**__EMBED__**]
  128. $color[0400ff]
  129. $description[the image is now : `$message`]
  130. $setUserVar[image;$message]
  131.  
  132. __code 7__
  133. Trigger : $awaitedCommand[color; ]
  134.  
  135. $nomention
  136. $deletecommand
  137. $deleteIn[5s]$title[**__EMBED__**]
  138. $color[0400ff]
  139. $description[the color is now : `#$message`]
  140. $color[$message]
  141. $setUserVar[color;$message]
  142. $endif
  143.  
  144. __code 8__
  145. Trigger : $awaitedCommand[channel;]
  146.  
  147. $nomention
  148. $deletecommand
  149. $deleteIn[5s]
  150. $title[**__EMBED__**]
  151. $color[0400ff]
  152. $description[The channel is now : <#$message[1]>]
  153. $onlyIf[$isNumber[$message]==true;I need the channel ID]
  154. $setUserVar[channel;$message[1]]
  155.  
  156. __code 9__
  157. Trigger : !Example
  158.  
  159. $nomention
  160. $title[$getUserVar[title]]
  161. $description[$getUserVar[description]]
  162. $footer[$getUserVar[footer]]
  163. $color[$getUserVar[color]]
  164. $image[$getUserVar[image]]
  165.  
  166. __Code 10__
  167. Trigger : !send
  168.  
  169. $nomention
  170. $channelSendMessage[$channelID;Embed builder sent successfully ๐Ÿ“ค]
  171. $useChannel[$getUserVar[channel]]
  172. $title[$getUserVar[title]]
  173. $description[$getUserVar[description]]
  174. $footer[$getUserVar[footer]]
  175. $color[$getUserVar[color]]
  176. $image[$getUserVar[image]]
  177.  
  178. __code 11__
  179. Triggers : !reset
  180.  
  181. $nomention
  182. $reply
  183. $title[**__EMBED__**]
  184. $description[โŒ Embed Builder aborted successfully]
  185. $color[ffff00]
  186. $resetUserVar[channel;$authorID]
  187. $resetUserVar[title;$authorID]
  188. $resetUserVar[description;$authorID]
  189. $resetUserVar[footer;$authorID]
  190. $resetUserVar[color;$authorID]
  191. $resetUserVar[image;$authorID]
Advertisement
Add Comment
Please, Sign In to add comment