Heisisi

Untitled

Mar 5th, 2026
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. $nomention
  2. $c[made by cenzo.tz if repost give credits]
  3.  
  4. $try
  5. $jsonParse[$getUserVar[ticketConfig;$botID]]
  6. $catch
  7. $jsonParse[{}]
  8. $endtry
  9.  
  10.  
  11. $if[$customID==ticket setup category $authorID]
  12.  
  13. $jsonSetString[ct;$getChannelSelectChannelID[1]]
  14. $setUserVar[ticketConfig;$jsonStringify;$botID]
  15.  
  16. $ephemeral
  17. Category saved: <#$getChannelSelectChannelID[1]>
  18.  
  19. $endif
  20.  
  21.  
  22. $if[$customID==ticket setup staff $authorID]
  23.  
  24. $jsonSetString[staff;$getRoleSelectRoleID[1]]
  25. $setUserVar[ticketConfig;$jsonStringify;$botID]
  26.  
  27. $ephemeral
  28. Staff saved: <@&$getRoleSelectRoleID[1]>
  29.  
  30. $endif
  31.  
  32.  
  33. $if[$customID==ticket system setup transcript]
  34.  
  35. $jsonSetString[transcriptchannel;$getChannelSelectChannelID[1]]
  36. $setUserVar[ticketConfig;$jsonStringify;$botID]
  37.  
  38. $ephemeral
  39. Transcript channel saved: <#$getChannelSelectChannelID[1]>
  40.  
  41. $endif
  42.  
  43.  
  44. $if[$customID==ticke_tags_$authorID]
  45.  
  46. $ephemeral
  47. Available Tags:
  48.  
  49. {username}
  50. {displayname}
  51. {userid}
  52. {usertag}
  53. {mention}
  54.  
  55. {server}
  56. {serverid}
  57. {servericon}
  58. {membercount}
  59.  
  60. {channel}
  61. {channelname}
  62.  
  63. {time}
  64. {date}
  65.  
  66. {avatar}
  67.  
  68. {color:#HEX}
  69.  
  70. $endif
  71.  
  72. $if[$customID==modal]
  73.  
  74. $if[$getServerVar[untitled]<10]
  75. $var[eh;00]
  76. $elseif[$getServerVar[untitled]<100]
  77. $var[eh;0]
  78. $else
  79. $var[eh;]
  80. $endif
  81.  
  82. $var[text;$json[customMessage]]
  83.  
  84. $var[thumb;]
  85.  
  86. $if[$checkContains[$var[text];{avatar}]==true]
  87. $var[thumb;$userAvatar[$authorID]]
  88. $var[text;$replaceText[$var[text];{avatar};]]
  89. $endif
  90.  
  91. $var[img;]
  92. $if[$checkContains[$var[text];{servericon}]==true]
  93. $var[img;$serverIcon[$guildID]]
  94. $var[text;$replaceText[$var[text];{servericon};]]
  95. $endif
  96.  
  97. $var[color;00eeff]
  98.  
  99. $if[$checkContains[$var[text];{color:#]==true]
  100. $textSplit[$var[text];{color:#]
  101. $textSplit[$splitText[2];}]
  102. $var[color;$splitText[1]]
  103. $var[text;$replaceText[$var[text];{color:#$var[color]};]]
  104. $endif
  105.  
  106. $var[text;$replaceText[$var[text];{username};$username]]
  107. $var[text;$replaceText[$var[text];{displayname};$displayName]]
  108. $var[text;$replaceText[$var[text];{userid};$authorID]]
  109. $var[text;$replaceText[$var[text];{usertag};$discriminator[$authorID]]]
  110. $var[text;$replaceText[$var[text];{mention};<@$authorID>]]
  111.  
  112. $var[text;$replaceText[$var[text];{server};$serverName[$guildID]]]
  113. $var[text;$replaceText[$var[text];{serverid};$guildID]]
  114. $var[text;$replaceText[$var[text];{servericon};$serverIcon[$guildID]]]
  115. $var[text;$replaceText[$var[text];{membercount};$membersCount]]
  116.  
  117. $var[text;$replaceText[$var[text];{channel};<#$channelID>]]
  118. $var[text;$replaceText[$var[text];{channelname};$channelName[$channelID]]]
  119.  
  120. $var[text;$replaceText[$var[text];{time};$hour:$minute:$second]]
  121. $var[text;$replaceText[$var[text];{date};$day/$month/$year]]
  122.  
  123. $var[au;$authorID]
  124.  
  125. $createChannel[ticket-$var[eh]$getServerVar[untitled];text;$json[ct]]
  126. $var[ch;$findChannel[ticket-$var[eh]$getServerVar[untitled]]]
  127.  
  128. $modifyChannelPerms[$var[ch];+readmessages;+readmessagehistory;+sendmessages;$authorID]
  129. $modifyChannel[$var[ch];!unchanged;$authorID;!unchanged;!unchanged;$json[ct]]
  130.  
  131. $setUserVar[ticketc;1;$authorID;$guildID]
  132.  
  133. $var[msg;$sendEmbedMessage[
  134. $var[ch];
  135. <@&$json[staff]>;
  136. ;
  137. ;
  138. $var[text];
  139. $var[color];
  140. ;
  141. ;
  142. ;
  143. ;
  144. $var[thumb];
  145. $var[img];
  146. no;
  147. yes
  148. ]]
  149.  
  150. $useChannel[$var[ch]]
  151. $addButton[no;close;Close Ticket;danger;no;🎌;$var[msg]]
  152.  
  153. $ephemeral
  154. $removeButtons
  155. $description[You opened a ticket! <#$var[ch]>]
  156. $color[00eeff]
  157.  
  158. $endif
  159.  
  160.  
  161.  
  162. $if[$customID==close]
  163.  
  164. $ephemeral
  165. ok
  166. $setUserVar[ticketc;0;$authorID;$guildID]
  167.  
  168. $var[id;$sendEmbedMessage[$channelID;;;;ticket closed by **$username**;ff0000;;;;;;;no;yes]]
  169.  
  170. $removeButtons
  171. $addButton[no;delete;Delete;danger;no;;$var[id]]
  172. $addButton[no;reopen;Re open;secondary;no;;$var[id]]
  173. $addButton[no;transcript; Transcript 📝;secondary;no;;$var[id]]
  174.  
  175. $editChannelPerms[$channelID;$channelTopic;-readmessages]
  176.  
  177. $endif
  178.  
  179.  
  180.  
  181. $if[$customID==reopen]
  182.  
  183. Sucessfully reopned ticket and added <@$channelTopic> back!
  184. $editChannelPerms[$channelID;$channelTopic;+readmessages;+sendmessages]
  185. $removeButtons
  186. $setUserVar[ticketc;1;$channelTopic;$guildID]
  187.  
  188. $endif
  189.  
  190.  
  191.  
  192. $if[$customID==delete]
  193.  
  194. $setUserVar[ticketc;0;$channelTopic;$guildID]
  195. $sendEmbedMessage[$channelID;;Deleting Ticket in **5s**;;;;;;;;]
  196. $replyIn[5s]
  197. $deleteChannels[$channelID]
  198.  
  199. $endif
  200.  
  201.  
  202.  
  203. $if[$customID==transcript]
  204.  
  205. $httpPost[https://ulquiorracifer.xyz/api/transcript;
  206. {
  207. "botToken":"$getVar[BotToken]",
  208. "channelId":"$channelID",
  209. "ownerId":"$channelTopic",
  210. "transcriptChannelId":"$json[transcriptchannel]"
  211. }
  212. ]
  213.  
  214. $endif
Advertisement
Add Comment
Please, Sign In to add comment