diff --git a/src/url_metadata.js b/src/url_metadata.js index 0d8f2ac..92f4a54 100644 --- a/src/url_metadata.js +++ b/src/url_metadata.js @@ -24,7 +24,7 @@ bot.global.text(/(https?:\/\/[^ ,\)"]*)/ig, (b) => { extra += " - [invidio](https://invidio.us/watch?v=" + t[1] + ")"; } } - b.respond("[:link:](" + url + ") _" + match[1] + "_" + extra); + b.respond("[:link:](" + link + ") _" + match[1] + "_" + extra); } } });