Added archive support, and the IP archive.
This commit is contained in:
@@ -36,8 +36,6 @@ function eroshare(post) {
|
||||
};
|
||||
})
|
||||
};
|
||||
}).catch(error => {
|
||||
console.log('\x1b[33m%s\x1b[0m', error);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -40,8 +40,6 @@ function imgurAlbum(post) {
|
||||
original: item
|
||||
}))
|
||||
};
|
||||
}).catch(error => {
|
||||
return console.log('\x1b[31m%s\x1b[0m', error);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -26,8 +26,6 @@ function imgurImage(post) {
|
||||
original: res.data
|
||||
}]
|
||||
};
|
||||
}).catch(error => {
|
||||
return console.log('\x1b[31m%s\x1b[0m', error);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -9,11 +9,11 @@ const gfycat = require('./gfycat.js');
|
||||
const eroshare = require('./eroshare.js');
|
||||
|
||||
module.exports = {
|
||||
self: self,
|
||||
redditImage: redditImage,
|
||||
redditVideo: redditVideo,
|
||||
imgurImage: imgurImage,
|
||||
imgurAlbum: imgurAlbum,
|
||||
gfycat: gfycat,
|
||||
eroshare: eroshare
|
||||
self,
|
||||
redditImage,
|
||||
redditVideo,
|
||||
imgurImage,
|
||||
imgurAlbum,
|
||||
gfycat,
|
||||
eroshare
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user