diff --git a/settings-template.jsonc b/settings-template.jsonc index 48b8198d..9d0ef5af 100644 --- a/settings-template.jsonc +++ b/settings-template.jsonc @@ -26,19 +26,134 @@ // The message ID of the bot's roles message "roles_message": "", - // Whether the bot should send an embed when a full URL to a ticket gets posted. - // Optional, false by default - "ticketUrlsCauseEmbed": false, + // Map of custom embed types + "embed_types": { + "": { - // A prefix that prevents the bot from posting an embed for a mentioned ticket. - // If this prefix is longer than 1, none of the characters can be used. - // When omitted or empty, no prefix prevents embeds. - "forbiddenTicketPrefix": "", + // Optional. Whether to include the embed title + // Default: false + "title": false, - // Prefix that needs to preceed any mentioned ticket in order for the bot to post an embed - // If this prefix is longer than 1, the entire string needs to prefix any mentioned ticket. - // When omitted or empty, no prefix is required for posting embeds. - "requiredTicketPrefix": "", + // Optional. Settings for the description. Either below's object or boolean. + // When true, defaults apply, when false no description is set. + // Default: false + "description": { + + // If set, the description cannot be longer than n characters. + // Maximum value (and default value) is 2048 (restriction by Discord api) + "max_characters": 1234, + + // If set, the description cannot include more than n line breaks. + "max_line_breaks": 2, + + // If set, everything from the description that matches any of the given regex strings will be stripped. + "exclude": [ "" ] + }, + + // Optional. Whether the author should be included. + // Default: false + "author": false, + + // Optional. Whether the embed should link to the mentioned ticket. + // Default: false + "url": false, + + // Optional. Whether the embed should include the first image. + // Default: false + "thumbnail": false, + + // The color the embed should have + "color": "DiscordColorResolvable", + + // Optional. A list of additional fields that should be added. Can be set to false for no fields. + // Default: false + "fields": [ + { + // Type of the field. + // Currently available: status, large_status, field, user, joined_array, array_count, duplicate_count, date, from_now + "type": "", + + // Label the field should appear with. + "label": "