jscord-storage
v1.0.3
Published
Free unlimited file storage
Downloads
33
Readme
jscord-storage
Server Status
Installation
yarn add jscord-storage
Example
import { uploadFromFile, uploadFromURL } from 'jscord-storage';
const testUploadFromURL = async () => {
const response = await uploadFromURL(
'test.jpg',
'https://cdn.discordapp.com/attachments/858938620425404426/1076560199218892902/waifu-animemoeus.jpg'
);
console.log(response);
};
const testUploadFromFile = async () => {
const response = await uploadFromFile('./test.js');
console.log(response);
};
testUploadFromURL();
testUploadFromFile();
API
About
- Max upload size limit is 25MB 🥳
url
vsproxy_url
. Click here for detail.proxy_url
. Click here for detail.- Attachments URL. Click here for detail.
Increase Upload Limit
- I don't know if this will work, but I think if the server gets a boost, we can increase the upload limit up to 50 MB or 100MB.
- https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-FAQ-
- Discord Server https://discord.gg/kZuWeKzgkq