diff --git a/src/trigger/parser.js b/src/trigger/parser.js index cc1de80..64a1027 100644 --- a/src/trigger/parser.js +++ b/src/trigger/parser.js @@ -8,7 +8,7 @@ module.exports = (bot, trigger, lib) => { call: new RegExp('https?:\\/\\/[\\w-]+(\\.[\\w-]+)+\\.?(:\\d+)?(\\/\\S*)?', 'gi'), level: 0, func: (e) => { - if(e.channel.getName() != '#f0ck') { + if(e.channel.getName() == '#f0ck') { if(!e.message.match(/\!ignore$/)) { var tmp = e.message.match(/https?:\/\/[\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?/gi); // get links tmp.forEach((entry,i,a) => {