From 22a837979e71727189cddb6a009d97eeedabe6c7 Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@cervoi.se>
Date: Mon, 12 Apr 2021 19:29:37 +0200
Subject: [PATCH] Remove edit link embed

---
 src/bot.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bot.ts b/src/bot.ts
index 0ca0b76..f5d563a 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -567,7 +567,7 @@ export class DiscordBot {
                 return;
             }
             const link = `https://discord.com/channels/${chan.guild.id}/${chan.id}/${editEventId}`;
-            embedSet.messageEmbed.description = `[Edit](${link}): ${embedSet.messageEmbed.description}`;
+            embedSet.messageEmbed.description = `[Edit](<${link}>): ${embedSet.messageEmbed.description}`;
             await this.send(embedSet, opts, roomLookup, event);
         } catch (err) {
             // throw wrapError(err, Unstable.ForeignNetworkError, "Couldn't edit message");
-- 
GitLab