Advertisement
BDFD_Berk

[1/5] !ticket-menu | Ticket System BDFD

Jan 3rd, 2023
606
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 1 0
  1. $nomention
  2. $onlyIf[$guildID!=;You can't use this in DMs!]
  3. $if[$isSlash==true] $defer $endif
  4. $if[$or[$checkUserPerms[$authorID;ban]==true;$checkUserPerms[$authorID;kick]==true;$checkUserPerms[$authorID;managemessages]==true;$checkUserPerms[$authorID;moderatemembers]==true;$checkUserPerms[$authorID;admin]==true]==true]
  5. $var[is_staff;true]
  6. $endif
  7.  
  8. $if[$var[is_staff]!=true]
  9. $title[Staff only!]
  10. $description[Sorry **$username**, only staff members with special permissions are allowed to do this, you can contact a staff member to do it for you.]
  11. $color[#ea003a]
  12. $ephemeral
  13. $stop
  14. $endif
  15.  
  16. $title[Open Ticket Setup Menu]
  17. $description[You can change the embed message using the **Setup Embed** button, add or remove panels by pressing the **Setup Panels** button, and once you are ready just click the green **All Ready** button to send the Ticket Menu!]
  18. $addButton[no;tkt_mdl_cfg-$authorID;Setup Embed;primary;no;]
  19. $addButton[no;tkt_add_pnl-$authorID;Setup Ticket Panel(s);secondary;no;]
  20. $addButton[no;tkt_pnl_send-$authorID;All Ready (send);success;no;]
  21. $setChannelVar[tickets2;]
  22. $setChannelVar[tickets3;]
  23. $setChannelVar[tickets;]
  24. $color[#1874cb]
  25. $suppressErrors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement