NOTE: This Package is still in development, please report any issue or bug on this site
npm i dboteconomyaddon
const Economy = require("dboteconomyaddon"); //Import Economy package
const eco = new Economy('1000'); //NOTE : 1000 on this line is a default balance
eco.fetchBalance('userID').then(money => { //Fetches balance from an userID
console.log(money); //log the money
});
eco.updateBalance('userID', 5000).then(newBalance => { //note : .then(newBalance => { is optional
console.log(newBalance);
});
I(ItsWolfiePlaysMC) am not responsable if you mess up and leak your bot's token etc
If you have any questions join the support server below and ask there.