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'),
|
call: new RegExp('https?:\\/\\/[\\w-]+(\\.[\\w-]+)+\\.?(:\\d+)?(\\/\\S*)?', 'gi'),
|
||||||
level: 0,
|
level: 0,
|
||||||
func: (e) => {
|
func: (e) => {
|
||||||
if(e.channel.getName() != '#f0ck') {
|
if(e.channel.getName() == '#f0ck') {
|
||||||
if(!e.message.match(/\!ignore$/)) {
|
if(!e.message.match(/\!ignore$/)) {
|
||||||
var tmp = e.message.match(/https?:\/\/[\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?/gi); // get links
|
var tmp = e.message.match(/https?:\/\/[\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?/gi); // get links
|
||||||
tmp.forEach((entry,i,a) => {
|
tmp.forEach((entry,i,a) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user