Suggestions
In your suggestions.yml, navigate to the SuggestionSettings section.
Key settings:
UseQuestionModal Must be set to
trueto enable modal-based suggestions.AdditionalModalInputs Defines up to 4 extra fields in your suggestion modal. Fields can be either:
TextInput β Free text fields
StringSelect β Dropdown menus with predefined options
π§ AdditionalModalInputs Structure (Direct link to heading: https://docsaegisdev.one/core-features/suggestions#additionalmodalinputs-structure)
Each input requires the properties shown below depending on its type.
Text Inputs
(Direct link to heading: https://docs.aegisdev.one/core-features/suggestions#id-1.-text-inputs)
Example configuration for a TextInput:
1: # Additional details text input
Type: "TextInput"
ID: "details" # {modal_details}
Question: "Additional Details (Optional)"
Placeholder: "Any extra context, examples, or details about your suggestion..."
Style: "Paragraph" # Short + Paragraph
Required: false
maxLength: 2000Notes:
Use
Styleto choose between short (single-line) and paragraph (multi-line).maxLengthcontrols the maximum allowed characters.
StringSelect Dropdowns
(Direct link to heading: https://docs.aegisdev.one/core-features/suggestions#id-2.-stringselect-dropdowns)
Example configuration for a StringSelect:
2: # Product selection dropdown
Type: "StringSelect"
ID: "product" # Available as: {modal_product}, {modal_product_formatted}, {modal_product_label}, {modal_product_emoji}
Label: "Product Selection"
Description: "Which product is this suggestion for?"
Placeholder: "Choose a product..."
Required: true
Options:
- Label: "Aegis Bot"
Value: "aegis_bot"
Description: "Multi-purpose Discord bot"
Emoji: "π€"
- Label: "Aegis Tickets"
Value: "aegis_tickets"
Description: "Advanced ticket management system"
Emoji: "π«"
- Label: "Discord Platform"
Value: "discord"
Description: "General Discord platform suggestions"
Emoji: "π¬"
- Label: "Other"
Value: "other"
Description: "Other products or services"
Emoji: "π¦"Notes:
Maximum 25 options per dropdown (Discord limitation).
Each option supports
Label,Value, optionalDescription, and optionalEmoji.Selected values are available via multiple placeholders (see below).
π Example Configuration (Direct link to heading: https://docs.aegisdev.one/core-features/suggestions#example-configuration)
Hereβs a complete example with a mix of inputs:
SuggestionSettings:
UseQuestionModal: true
AdditionalModalInputs:
1: # Product field
Type: "TextInput"
ID: "product"
Question: "Which product is this suggestion for?"
Placeholder: "Aegis Bot, Aegis Tickets, Discord"
Style: "Short"
Required: true
2: # Priority dropdown
Type: "StringSelect"
ID: "priority"
Label: "Suggestion Priority"
Placeholder: "Choose a priority..."
Required: true
Options:
- Label: "π’ Low Priority"
Value: "low"
- Label: "π‘ Medium Priority"
Value: "medium"
- Label: "π΄ High Priority"
Value: "high"
3: # Category dropdown
Type: "StringSelect"
ID: "category"
Label: "Suggestion Category"
Required: false
Options:
- Label: "π Bug Fix"
Value: "bug"
- Label: "β¨ New Feature"
Value: "feature"
- Label: "β‘ Improvement"
Value: "improvement"π·οΈ Using Placeholders in Embeds (Direct link to heading: https://docs.aegisdev.one/core-features/suggestions#using-placeholders-in-embeds)
Placeholders you can use inside your SuggestionEmbed:
{modal_[ID]}β raw value (e.g.,low){modal_[ID]_formatted}β formatted with emoji if provided (e.g.,π’ Low Priority){modal_[ID]_label}β label without emoji (e.g.,Low Priority){modal_[ID]_emoji}β emoji only (e.g.,π’)
Example Embed configuration:
βοΈ Important Notes (Direct link to heading: https://docs.aegisdev.one/core-features/suggestions#important-notes)
Maximum 4 inputs per modal (Discord limitation)
Maximum 25 options per dropdown
Labels and values must each be β€ 100 characters
Direct links referenced:
AdditionalModalInputs Structure: https://docs.aegisdev.one/core-features/suggestions#additionalmodalinputs-structure
Text Inputs: https://docs.aegisdev.one/core-features/suggestions#id-1.-text-inputs
StringSelect Dropdowns: https://docs.aegisdev.one/core-features/suggestions#id-2.-stringselect-dropdowns
Example Configuration: https://docsaegisdev.one/core-features/suggestions#example-configuration
Using Placeholders in Embeds: https://docs.aegisdev.one/core-features/suggestions#using-placeholders-in-embeds
Example Embed: https://docs.aegisdev.one/core-features/suggestions#example-embed
Important Notes: https://docs.aegisdev.one/core-features/suggestions#important-notes
Last updated 1 month ago
Last updated
