This commit is contained in:
Flummi
2017-11-24 22:36:13 +01:00
parent 06915ce3e7
commit f8d42a3f01
2 changed files with 20 additions and 2 deletions

View File

@ -14,7 +14,7 @@ module.exports = bot => {
bot._trigger.set("parser", {
call: /https?:\/\/[\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?/gi,
level: 0,
active: true,
active: false,
clients: ["irc"],
f: e => {
const links = e.message.match(/https?:\/\/[\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?/gi);