remove debug
This commit is contained in:
parent
f2ff773032
commit
24c77103a9
1 changed files with 0 additions and 1 deletions
|
@ -7,7 +7,6 @@ bot.global.text(/(https?:\/\/.*)[, $]?/i, (b) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
var re = /<title>([^<]*)<\/title>/gi;
|
var re = /<title>([^<]*)<\/title>/gi;
|
||||||
var match = re.exec(body);
|
var match = re.exec(body);
|
||||||
bot.logger.info(match[1]);
|
|
||||||
if (match && match[1]) {
|
if (match && match[1]) {
|
||||||
b.respond(":link: _" + match[1] + "_");
|
b.respond(":link: _" + match[1] + "_");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue