Heisisi

Ticket config

Mar 18th, 2026 (edited)
718
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.39 KB | Source Code | 0 0
  1. $c[ hi i’m cenzo.tz if you’re trying to repost this shit without asking me i’ll make sure to goon on you thanks!]
  2. $c[ join my discord server for api support https://discord.gg/acd2sTKHtW]
  3.  
  4. $nomention
  5. $allowRoleMentions[]
  6. $c[made by cenzo.tz if repost give credits]
  7. $onlyPerms[manageserver; **$username**, You don’t have **Manage Server** Permission!]
  8.  
  9. $try
  10. $jsonParse[$getUserVar[ticketConfig;$botID]]
  11. $catch
  12. $jsonParse[{}]
  13. $endtry
  14. $c[ credits cenzo.tz & catearuwu]
  15. $addContainer[cont]
  16.  
  17. $addSection[sec;cont]
  18. $addTextDisplay[# Ticket Config
  19. The ticket settings can be configured here.;sec]
  20. $addThumbnail[$serverIcon[$guildID];;false;sec]
  21.  
  22. $addSeparator[true;small;cont]
  23.  
  24. $addTextDisplay[**Ticket Category**: $replaceText[$replaceText[$checkCondition[$json[ct]==];true;Not Set];false;<#$json[ct]>];cont]
  25. $addTextDisplay[* The category where tickets will be created.;cont]
  26.  
  27. $addActionRow[row1;cont]
  28. $addChannelSelect[ticket setup category $authorID;Choose an category;1;1;false;row1;category]
  29.  
  30. $addSeparator[true;small;cont]
  31.  
  32. $c[ credits cenzo.tz & catearuwu]
  33.  
  34. $addTextDisplay[**Ticket Staff**: $replaceText[$replaceText[$checkCondition[$json[staff]==];true;Not Set];false;<@&$json[staff]>];cont]
  35. $addTextDisplay[* The role that takes care of tickets, the role will get mentioned when someone creates a ticket.;cont]
  36.  
  37. $addActionRow[row2;cont]
  38. $addRoleSelect[ticket setup staff $authorID;Choose an staff role;1;1;false;row2]
  39.  
  40. $addSeparator[true;small;cont]
  41.  
  42. $c[ credits cenzo.tz & catearuwu]
  43.  
  44. $addTextDisplay[**Transcript Channel**: $replaceText[$replaceText[$checkCondition[$json[transcriptchannel]==];true;Not Set];false;<#$json[transcriptchannel]>];cont]
  45. $addTextDisplay[* The channel where transcripts will be sent.;cont]
  46.  
  47. $c[ credits cenzo.tz & catearuwu]
  48.  
  49. $addActionRow[row3;cont]
  50. $addChannelSelect[ticket setup channel $authorID;Choose an channel;1;1;false;row3;text]
  51.  
  52. $addSeparator[true;small;cont]
  53.  
  54. $addTextDisplay[**Custom Ticket Message**: $replaceText[$replaceText[$checkCondition[$json[customMessage]==];true;Not set];false;Set];cont]
  55. $addTextDisplay[* This message will be sent inside the ticket.;cont]
  56.  
  57. $c[ credits cenzo.tz & catearuwu]
  58.  
  59. $c[ credits cenzo.tz & catearuwu]
  60.  
  61. $c[ credits cenzo.tz & catearuwu]
  62.  
  63. $c[ credits cenzo.tz & catearuwu]
  64.  
  65. $addActionRow[row4;cont]
  66. $addButtonCV2[ticket setup customMessage $authorID;Set Custom Message;primary;false;;row4]
  67.  
Advertisement
Add Comment
Please, Sign In to add comment