Address Copilot review feedback: - Move resolveDiscordRefs(content) before the referenced message concatenation to prevent message links in quoted replies from being expanded twice. - Add unit tests for channelRefRe and msgLinkRe regex patterns, covering valid/invalid inputs and the 3-link cap. |
||
|---|---|---|
| .. | ||
| discord.go | ||
| discord_resolve_test.go | ||
| discord_test.go | ||
| init.go | ||