link to final href after redirections

This commit is contained in:
mose 2019-09-15 09:21:11 +08:00
parent 101b69666d
commit bf1a69500f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
});