-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Implement functionality to allow customization of bot embed messages, including changing colors, structure, and content. This feature will provide flexibility for admins to tailor bot messages to better suit their server's branding, style, or communication needs.
Why This Feature is Needed
- Customization: Different servers may have unique branding or style preferences, and customizable embeds allow the bot to align with those preferences.
- Improved Communication: Structured and visually appealing embeds can make bot messages more engaging and easier to understand.
- Flexibility: Admins can modify embed colors, layouts, and content to better fit their workflows or server culture.
Implementation Details
-
Embed Customization Options:
- Allow admins to configure the following properties for embeds:
- Color: Set the embed color using a hex code or predefined options.
- Title: Customize the title of the embed.
- Description: Modify the description text.
- Fields: Add, remove, or reorder fields in the embed.
- Footer: Customize the footer text and icon.
- Thumbnail: Add or change the thumbnail image.
- Allow admins to configure the following properties for embeds:
-
Web UI Integration:
- Add a section in the web panel for embed customization.
- Provide a live preview of the embed to show how changes will look.
- Save embed configurations to the database for persistence.
-
Bot Integration:
- Update the bot to use the saved embed configurations when sending messages.
- Ensure that all bot messages (e.g., ticket creation, notifications) support the new embed structure.
-
Default Templates:
- Provide default embed templates for common bot messages (e.g., ticket creation, ticket updates).
- Allow admins to reset to default templates if needed.
-
Testing:
- Test the feature with various embed configurations to ensure flexibility and stability.
- Verify that the bot handles invalid or incomplete configurations gracefully.
Acceptance Criteria
- Admins can customize embed colors, titles, descriptions, fields, footers, and thumbnails.
- A live preview of the embed is available in the web panel.
- Embed configurations are saved to the database and persist across bot restarts.
- The bot uses the saved embed configurations for all relevant messages.
- Default templates are provided for common bot messages.
- The feature is tested and works with various embed configurations.
Priority
Medium
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request