Added archive support, and the IP archive.

This commit is contained in:
2024-09-11 05:16:54 +02:00
parent 8c4353f8ed
commit f0e312f2b1
14 changed files with 117 additions and 31 deletions

View File

@@ -36,8 +36,6 @@ function eroshare(post) {
};
})
};
}).catch(error => {
console.log('\x1b[33m%s\x1b[0m', error);
});
};

View File

@@ -40,8 +40,6 @@ function imgurAlbum(post) {
original: item
}))
};
}).catch(error => {
return console.log('\x1b[31m%s\x1b[0m', error);
});
};

View File

@@ -26,8 +26,6 @@ function imgurImage(post) {
original: res.data
}]
};
}).catch(error => {
return console.log('\x1b[31m%s\x1b[0m', error);
});
};

View File

@@ -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
};