Add customizable link render template setting to /settings #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds the ability for server administrators to customize how fixed links are displayed using template placeholders in the
/settings
command.What's New
Previously, FixTweetBot used a fixed format for displaying fixed links:
Now administrators can create custom templates using placeholders like:
Which renders as:
Available Template Placeholders
{member}
- Discord mention of the user who posted the link{fixed_link}
- The fixed link with markdown formatting[label](url)
{author}
- Original content author with link if available{original_link}
- Original link with markdown formatting{datetime}
- Current timestamp (YYYY-MM-DD HH:MM){fixed_url}
- Just the fixed URL without formatting{original_url}
- Just the original URL without formattingUI Features
/settings
menuTechnical Implementation
link_render_template
TEXT field to guilds table with migrationExample Use Cases
Simple mention format:
Detailed format with context:
Minimal format:
This enhancement provides servers with flexibility to match their community's style and preferences while maintaining the bot's core functionality.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.