remove debug

This commit is contained in:
mose 2019-09-14 10:03:22 +08:00
parent f2ff773032
commit 24c77103a9

View file

@ -7,7 +7,6 @@ bot.global.text(/(https?:\/\/.*)[, $]?/i, (b) => {
if (!err) {
var re = /<title>([^<]*)<\/title>/gi;
var match = re.exec(body);
bot.logger.info(match[1]);
if (match && match[1]) {
b.respond(":link: _" + match[1] + "_");
}