From a53ca4f0d427c2695d9b79e5d7931272c9749356 Mon Sep 17 00:00:00 2001 From: filipnyquist Date: Thu, 28 Jun 2018 14:59:14 +0200 Subject: [PATCH] Fixed a small error with the regexp --- bot/modules/lbrylink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/lbrylink.js b/bot/modules/lbrylink.js index 50c97c9..7a443e3 100644 --- a/bot/modules/lbrylink.js +++ b/bot/modules/lbrylink.js @@ -75,7 +75,7 @@ exports.lbrylink = function(bot, msg, suffix) { } } const embed = { - description: "I see you tried to post a LBRY URL, here's a friendly hyperlink to share and for others to access your content with a single click: \n" + newURL.replace(/[^0-9a-z#]/gi,''), + description: "I see you tried to post a LBRY URL, here's a friendly hyperlink to share and for others to access your content with a single click: \n" + newURL.replace(/[^0-9a-z#/:]/gi,''), color: 7976557, author: { name: 'LBRY Linker',