link to final href after redirections
This commit is contained in:
parent
101b69666d
commit
bf1a69500f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue