right name for individous

This commit is contained in:
mose 2019-09-15 15:34:08 +08:00
parent fb9705177b
commit 64db9d65b2

View file

@ -21,7 +21,7 @@ bot.global.text(/(https?:\/\/[^ ,\)"]*)/ig, (b) => {
if (t = /[?&]v=([^&]+)/.exec(link)) {
link = "https://www.youtube.com/watch?v=" + t[1];
extra += " - [no-cookie](https://www.youtube-nocookie.com/embed/" + t[1] + ")";
extra += " - [invidio](https://invidio.us/watch?v=" + t[1] + ")";
extra += " - [invidious](https://invidio.us/watch?v=" + t[1] + ")";
}
}
b.respond("[:link:](" + link + ") _" + match[1] + "_" + extra);