This commit is contained in:
parent
78a2524ce9
commit
f9e10abb51
@ -29,7 +29,13 @@ export default async bot => {
|
||||
if(links.length === 0)
|
||||
return false;
|
||||
|
||||
if(!e.message.match(/\!f(0ck)?/i))
|
||||
if(e.message.match(/\!i(gnore)?\b/))
|
||||
return false;
|
||||
|
||||
if(!e.channel.includes("f0ck") && !e.message.match(/\!f(0ck)?\b/i))
|
||||
return false;
|
||||
|
||||
if(e.type === 'tg' && !e.message.match(/\!f(0ck)?\b/i))
|
||||
return false;
|
||||
|
||||
console.log(`parsing ${links.length} link${links.length > 1 ? "s" : ""}...`);
|
||||
|
Loading…
Reference in New Issue
Block a user