Discord Economy
Note: This package is under development and will be updated frequently.
This package is meant to provide an easy way to access core economy features.
Installation
npm install discord-eco
Require Package
var economy = require('discord-eco');
Fetch Balance
No need to create a database, it does that automatically.
economy;
Update Balance
Value must be an integer. If you want to subtract from the balance make it a negitave number.
economy;
Example Bot | View Output
// Call Packages const Discord = ; const economy = ; // Define client for Discord const client = ; // This runs when a message is recieved... client; client