Skip to content

Configuration

Vxrpenter edited this page May 8, 2025 · 8 revisions

Ticket Type Configuration

Caution

This config is part of the extra config group. These configs are experimental and are more complicated to use. They are only meant for users who know what they are doing. They don't provide in config comments and are JSON based instead of the easier to understand YAML configs.

This configuration file is used for defining the ticket types, used in the ticket system. Users can also use this system to define new ticket types that will be used by the bot.

[
  {
    "id": "",
    "name": "",
    "description": "",
    "behavior": {
      "modal": {
        "id": "",
        "title": "",
        "objects": [
          {
            "type": "",
            "id": "",
            "title": "",
            "placeholder": "",
            "replacement_placeholder": ""
          }
        ]
      },
      "choose_user": {
        "active": false,
        "exclude_bots": true
      },
      "anonymise_option": false
    }
  }
]

ID

The id of the ticket type. This value will only be used to identify the types in the database and will not be shown to users. Once you have created a ticket with a defined id has been created, you should not remove it to prevent error.

NAME

The name of the ticket type. It will be displayed to the user and can be customized with discord markdown.

DESCRIPTION

The types description. It will be displayed to users and can be customized using discord markdown.

More explanations coming soon

Clone this wiki locally