mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-09-09 20:09:45 +00:00
Update lbrylink.js
This commit is contained in:
parent
b6edfdd9c5
commit
d49868021b
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ exports.lbrylink = async function(bot, msg, suffix) {
|
||||||
|
|
||||||
//clean URLS from any prepended or appended extra chars
|
//clean URLS from any prepended or appended extra chars
|
||||||
for (let i = 0; i < urls.length; i++) {
|
for (let i = 0; i < urls.length; i++) {
|
||||||
urls[i] = urls[i].replace(/^lbry:\/\//g, 'https://open.lbry.io/').replace(/\W+$/g, '');
|
urls[i] = urls[i].replace(/^lbry:\/\//g, 'https://open.lbry.com/').replace(/\W+$/g, '');
|
||||||
}
|
}
|
||||||
const linkEmbed = new RichEmbed();
|
const linkEmbed = new RichEmbed();
|
||||||
linkEmbed
|
linkEmbed
|
||||||
|
|
Loading…
Add table
Reference in a new issue