fix link parsing
This commit is contained in:
parent
23c5208cbc
commit
69bd3e60c9
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ var request_options = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
bot.global.text(/(https?:\/\/[^ ,\)"]*)/ig, (b) => {
|
bot.global.text(/(https?:\/\/[^ ,\)"\n]*)/ig, (b) => {
|
||||||
// console.log(JSON.stringify(b.envelope.payload, null, 2));
|
// console.log(JSON.stringify(b.envelope.payload, null, 2));
|
||||||
for (url of b.match) {
|
for (url of b.match) {
|
||||||
// console.log(JSON.stringify(url, null, 2));
|
// console.log(JSON.stringify(url, null, 2));
|
||||||
|
|
Loading…
Reference in a new issue