Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __Variables__
- title =
- description=
- footer=
- image=
- channels=
- color=
- __code 1__
- Triggers : !editembed
- $nomention
- $reply
- $title[__EMBED__]
- $color[0400ff]
- $description[Welcome to the Embed Setup Wizard!
- Respond to the buttons to change and configure your embed!
- ```
- ๐ใEdit Title
- ๐ใ Edit description
- โ๏ธใEdit footer
- ๐ผ๏ธใ Add picture
- ๐จใ Change color
- ```
- ```
- ๐คใTo send the t!send embed
- ๐ฅใRendering of Embed t!render
- โใ Cancel t!cancel embed creation
- ```]
- $newSelectMenu[Embed;1;1; ]
- $addSelectMenuOption[Embed;Title;value1;Set title;no;๐]
- $addSelectMenuOption[Embed;description;value2;edit the descriptions;no;๐]
- $addSelectMenuOption[Embed;Footer;value3;Edit footer;no;โ๏ธ]
- $addSelectMenuOption[Embed;Image;value4;Set the image (a link);no;๐ผ๏ธ]
- $addSelectMenuOption[Embed;color;value5;Edit color;no;๐จ]
- $addSelectMenuOption[Embed;channel;value6;Edit channel;no;๐๏ธ]
- __code 2__
- $onInteraction[Embed]
- $nomention
- $reply
- $if[$message==value1]
- $title[**__EMBED__**]
- $color[0400ff]
- $description[Submit your title ๐]
- $awaitFunc[titre;$authorID]
- $endif
- $if[$message==value2]
- $title[**__EMBED__**]
- $color[0400ff]
- $description[Send your description ๐]
- $awaitFunc[description;$authorID]
- $endif
- $if[$message==value3]
- $title[**__EMBED__**]
- $color[0400ff]
- $description[Send your footer โ๏ธ]
- $awaitFunc[footer;$authorID]
- $endif
- $if[$message==value4]
- $title[**__EMBED__**]
- $color[0400ff]
- $description[send your picture ๐ผ๏ธ ]
- $awaitFunc[image;$authorID]
- $endif
- $if[$message==value5]
- $title[**__EMBED__**]
- $color[0400ff]
- $description[Send Color๐จ]
- $awaitFunc[color;$authorID]
- $endif
- $if[$message==value6]
- $title[**__EMBED__**]
- $color[0400ff]
- $description[Sending channel __id__ ๐๏ธ]
- $awaitFunc[channel;$authorID]
- $endif
- __Code 3__
- Trigger : $awaitedCommand[titre; ]
- $nomention
- $deletecommand
- $deleteIn[5s]
- $title[**__EMBED__**]
- $color[0400ff]
- $description[the title is now : `$message`]
- $setUserVar[title;$message]
- __Code 4__
- Trigger : $awaitedCommand[description; ]
- $nomention
- $deletecommand
- $deleteIn[5s]
- $title[**ใก__EMBED__**]
- $color[0400ff]
- $description[The description is now : `$message`]
- $setUserVar[description;$message]
- __Code 5__
- Trigger : $awaitedCommand[footer; ]
- $nomention
- $deletecommand
- $deleteIn[5s]
- $title[**__ใกEMBED__**]
- $color[0400ff]
- $description[The footer is now : `$message`]
- $setUserVar[footer;$message]
- __code 6__
- Trigger : $awaitedCommand[image; ]
- $nomention
- $deletecommand
- $deleteIn[5s]
- $title[**__EMBED__**]
- $color[0400ff]
- $description[the image is now : `$message`]
- $setUserVar[image;$message]
- __code 7__
- Trigger : $awaitedCommand[color; ]
- $nomention
- $deletecommand
- $deleteIn[5s]$title[**__EMBED__**]
- $color[0400ff]
- $description[the color is now : `#$message`]
- $color[$message]
- $setUserVar[color;$message]
- $endif
- __code 8__
- Trigger : $awaitedCommand[channel;]
- $nomention
- $deletecommand
- $deleteIn[5s]
- $title[**__EMBED__**]
- $color[0400ff]
- $description[The channel is now : <#$message[1]>]
- $onlyIf[$isNumber[$message]==true;I need the channel ID]
- $setUserVar[channel;$message[1]]
- __code 9__
- Trigger : !Example
- $nomention
- $title[$getUserVar[title]]
- $description[$getUserVar[description]]
- $footer[$getUserVar[footer]]
- $color[$getUserVar[color]]
- $image[$getUserVar[image]]
- __Code 10__
- Trigger : !send
- $nomention
- $channelSendMessage[$channelID;Embed builder sent successfully ๐ค]
- $useChannel[$getUserVar[channel]]
- $title[$getUserVar[title]]
- $description[$getUserVar[description]]
- $footer[$getUserVar[footer]]
- $color[$getUserVar[color]]
- $image[$getUserVar[image]]
- __code 11__
- Triggers : !reset
- $nomention
- $reply
- $title[**__EMBED__**]
- $description[โ Embed Builder aborted successfully]
- $color[ffff00]
- $resetUserVar[channel;$authorID]
- $resetUserVar[title;$authorID]
- $resetUserVar[description;$authorID]
- $resetUserVar[footer;$authorID]
- $resetUserVar[color;$authorID]
- $resetUserVar[image;$authorID]
Advertisement
Add Comment
Please, Sign In to add comment