jscord-storage
Free unlimited file hosting using Discord server
Server Status
Installation
Example
const jscordStorage = require("jscord-storage");
const filename = "result.zip";
// const file = '/path/to/your/file'
const file = "https://file-examples-com.github.io/uploads/2017/02/zip_5MB.zip";
jscordStorage
.upload(filename, file)
.then((data) => {
console.log(data);
})
.catch((err) => {
console.log(err);
});
Result
{
"id": "919806297623396372",
"filename": "file.zip",
"size": 5452018,
"url": "https://cdn.discordapp.com/attachments/858938620425404426/919806297623396372/file.zip",
"proxy_url": "https://media.discordapp.net/attachments/858938620425404426/919806297623396372/file.zip",
"content_type": "application/zip"
}
API
About
Increase Upload Limit
Example Implementation