We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20dbec8 commit c7a1ee5Copy full SHA for c7a1ee5
1 file changed
src/features/fix/embedFixer.ts
@@ -138,7 +138,7 @@ function applyFix(message: Message): void {
138
for (const fix of fixer.fixes) {
139
if (checkUrlDomain(cleanUrl, fix.originalDomain)) {
140
const new_url = replaceDomain(cleanUrl, fix.replacementDomain);
141
- fixed_urls.push(`[Preview Embed URL](${new_url})`);
+ fixed_urls.push(new_url);
142
}
143
144
@@ -148,7 +148,9 @@ function applyFix(message: Message): void {
148
message.suppressEmbeds(true);
149
150
message.reply({
151
- content: `${fixed_urls.join("\n")}`,
+ content: fixed_urls
152
+ .map((url) => `[Preview Embed URL](${url})`)
153
+ .join("\n"),
154
allowedMentions: { repliedUser: false },
155
});
156
0 commit comments