currency-system-custom-bot

2.6.48 • Public • Published

Templates

This will go through all functions with example's See https://github.com/BIntelligent/currency-system/tree/main/ExampleBot for a Example bot.

NEW!

ADDED Info command!

Bug reports

Join our Support Server: Package Made by: Be Intelligent#0001.

Docs

📚 https://currency-system.js.org

For Global Economy

To make it global, remove following line from every command

guild: message.guild,

Available Methods

Click them to view more info about the methods.

Initilize the NPM Package.

  1. Set's MongoDB URL so It can Connect to MongoDB. setMongoURL
  2. ( optional ) Set's Default Wallet Amount when creating new User Document setDefaultWalletAmount
  3. ( optional ) Set's Default Bank Amount when creating new User Document setDefaultBankAmount

Economy Methods

  1. Add's Money to a User. addMoney
  2. Remove's Money from a User. removeMoney
  3. Gamble's the money for a user with some success of winning double money than you Gambled for. gamble
  4. Add's money from wallet to bank. deposite
  5. Take's money from bank to wallet. withdraw
  6. Get's current balance of user. ( Bank and wallet ) balance
  7. Moves money from one user to another. transferMoney

Leaderboard

  1. Get's Guild's leaderboard. leaderboard
  2. Get's Global leaderboard. globalLeaderboard

Money Earning Methods

  1. User can use it once per hour. hourly
  2. User can use it once every 6 hours. quaterly
  3. User can use it once every 12 hours. hafly
  4. User can use it once every 24 hours. daily
  5. User can use it once every 7 days. weekly
  6. User can use it once every month. monthly
  7. User can use it every x time. Which Bot Developor can set. work
  8. Rob's a user and have 50-50 chance of getting his money. rob
  9. User can use it every x time. Which Bot Developor can set beg

New!!

Inventory System

  1. Get User's Inventory. getUserItems
  2. Get Shop's Inventory. getShopItems
  3. Add Item's to Shop! addItem
  4. Removes Item's to Shop! removeItem
  5. Set's Item's on Shop at once without doing it one by one. setItems
  6. Buy Command for User's to buy items from Shop. buy
  7. Sell Command for User's to Sell items. removeUserItem
  8. This tell's the about a user on what command he used already. info

Package Sidebar

Install

npm i currency-system-custom-bot

Weekly Downloads

0

Version

2.6.48

License

ISC

Unpacked Size

69.6 kB

Total Files

14

Last publish

Collaborators

  • giyutomioka