Simply Eco is a powerful module that allows you to create economy system in your bot with ease.:)
npm install simply-eco
const client = <your Discord client>
const economy = require("simply-eco");
//create new economy() Class
client.eco = new economy(client , "YOUR MONGODB URI")
client.eco.<Method>({<Options>}); //return -> Promise ->
const client = <your Discord Client>
const economy = require("simply-eco");
//create new economy() Class
client.eco = new economy(client, 'YOUR MONGODB URI', {
notify: false,
global: true
});
// use the methods
client.eco.<Method>({<Options>}); //returns -> Promise ->
(Boolean)
- Notifies in console that SimplyEco is connected to db(Boolean)
- Multi guild/Global toggleGenerated using TypeDoc