damn
This commit is contained in:
parent
eb1aa8edaa
commit
680ef78f07
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user