dboteconomyaddon

1.5.0 • Public • Published

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

Package Sidebar

Install

npm i dboteconomyaddon

Weekly Downloads

3

Version

1.5.0

License

ISC

Unpacked Size

19.4 kB

Total Files

8

Last publish

Collaborators

  • itswolfieplaysmc