add trim /close #1
This commit is contained in:
parent
56751252af
commit
044d76db19
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ bot.global.text(/(https?:\/\/[^ ,\)"\n]*)/ig, async (b) => {
|
||||||
extra += " - [invidious](https://invidio.us/watch?v=" + t[1] + ")";
|
extra += " - [invidious](https://invidio.us/watch?v=" + t[1] + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
b.respond("[>>>](" + link + ") _" + match[1].replace(/\n/g, " ") + "_" + extra);
|
b.respond("[>>>](" + link + ") _" + match[1].replace(/\n/g, " ").trim() + "_" + extra);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log('-----------------------------------');
|
console.log('-----------------------------------');
|
||||||
|
|
Loading…
Reference in a new issue