Skip to main content

βš™οΈ Options

Hi there! This guide will explain what an option is in Open Ticket and how it works.

An option in Open Ticket defines the available buttons/dropdown items for ticket types, website links, and reaction roles that users can select when using the panel. Options are configurable to suit different needs, whether you are offering different types of tickets or linking external websites.

Options

What are Open Ticket options?


βš™οΈ What Are Options?​

An option in Open Ticket is a customizable item that defines a ticket type, a website link, or a reaction role. You can compare it with the button of a panel. Options allow you to create a flexible ticketing system where users can select from different options before submitting their tickets.

πŸ“Œ Options Types​

There are currently 3 different option types in Open Ticket:

  • Ticket – For creating a tickets.
  • Website – For providing external links that users can access.
  • Role – Reaction roles for allowing users to select roles via reactions.

🎯 Purpose of Options​

Options help with the following:

  • βœ… Defining various ticket types, each with their own messages & customisation.
  • βœ… Linking external websites for further information.
  • βœ… Allowing users to select reaction roles for specific categories.
Example of options in an Open Ticket panel.Example of options in an Open Ticket panel.

πŸ“ Where Are Options Used?​

Options are defined in the options.json file and referenced in the panels.json configuration. To use an option, its id must be added to the "options" array in panels.json.

  • File: options.json β†’ Defines available ticket options.
  • File: panels.json β†’ Displays options in Discord as buttons or dropdown items.

🎨 Customization Options​

Options in Open Ticket can be fully customized. Here are some customization options for different types of options:

  • Tickets – Choose the category, ticket admins, messages, embeds and additional settings for this ticket.
  • Websites – Define a URL for a website that users can visit via a button.
  • Reaction Roles – Set up roles that users can select by clicking a button.

πŸ’‘ Best Practices​

βœ”οΈ Use clear and descriptive names for ticket types.
βœ”οΈ If not required, the website & reaction role options can be removed.
βœ”οΈ You can create an unlimited amount of options. Each panel can only contain 25 options though.


πŸ† Summary​

Congratulations! Now you understand how options work in Open Ticket. πŸš€

⭐ awesome ⭐

Don't forget to give Open Ticket a star on Github to help us grow!

Next Steps​

Learn More​