1.5.0 • Published 5 years ago

dboteconomyaddon v1.5.0

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

NOTE: This Package is still in development, please report any issue or bug on this site

Installation

npm i dboteconomyaddon

Examples

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

DISCLAIMER

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.

The Support Server

https://discord.gg/Sp5gGj9