discordenvo

The best economy package for discordjs at the moment.

Usage no npm install needed!

<script type="module">
  import discordenvo from 'https://cdn.skypack.dev/discordenvo';
</script>

README

Installation

$ npm i discordenvo --save

Planed updates

  • Add more economy games (working on)
  • Fix problems with bots that shard (temp fix maybe?)
  • Add a better api documentation
  • Add daily count

Required packages

  • sequelize the DB wrapper of sqlite3 of this project (npm install --save sequelize)
  • sqlite3 Core DB (npm install --save sqlite3)

ChangeLog

  • 1.1.9 - This will break your bot. Changed function names, changed added and renamed output variables. Code split all economy functions. READ BELOW
  • 1.2.0 - This update brings a new feature to ecoDaily which is a counter for dailys in a row. ecoDaily returns a output.dailyCounter when you attempt to call the promise.

New Names

+ addBalance
+ coinFlip
+ ecoDaily
+ ecoDelete
+ ecoDice
+ ecoSlots
+ ecoTransfer
+ ecoWork
+ fetchBalance
+ ecoLeaderboard
+ resetDaily
+ setBalance
+ subtractBalance

Docs

  • Docs - New page soon, just join the server for questions