f0ck with !f0ck (not in #f0ck)
This commit is contained in:
parent
e03d37ffe1
commit
58da4032b4
@ -15,7 +15,7 @@ module.exports = (lib) => {
|
||||
level: 0,
|
||||
active: 0,
|
||||
func: (e) => {
|
||||
if(e.channel.getName() === lib.cfg.main.debugchannel || e.message.match(/\!f0ck (.*?)/i)) {
|
||||
if(e.channel.getName() === lib.cfg.main.debugchannel || e.message.match(/^\!f0ck (.*?)/i)) {
|
||||
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