what 4ducky?

This commit is contained in:
Flummi 2016-11-24 10:36:43 +01:00
parent 46ee299c29
commit c34324822a

View File

@ -19,7 +19,7 @@ module.exports = (lib) => {
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) => {
if(!entry.match(/f0ck\.me/i) && !entry.match(/4ducky\.com/i)) { if(!entry.match(/f0ck\.me/i)) {
getLink(entry, (cb) => { getLink(entry, (cb) => {
if(cb.success === true) { if(cb.success === true) {
fs.move(cb.file, cb.file + '.' + cb.info.ext, (err) => { fs.move(cb.file, cb.file + '.' + cb.info.ext, (err) => {