2.6.48 ⢠Published 4 years ago
currency-system-custom-bot v2.6.48
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.
- Set's MongoDB URL so It can Connect to MongoDB.
setMongoURL - ( optional ) Set's Default Wallet Amount when creating new User Document
setDefaultWalletAmount - ( optional ) Set's Default Bank Amount when creating new User Document
setDefaultBankAmount
Economy Methods
- Add's Money to a User.
addMoney - Remove's Money from a User.
removeMoney - Gamble's the money for a user with some success of winning double money than you Gambled for.
gamble - Add's money from wallet to bank.
deposite - Take's money from bank to wallet.
withdraw - Get's current balance of user. ( Bank and wallet )
balance - Moves money from one user to another.
transferMoney
Leaderboard
- Get's Guild's leaderboard.
leaderboard - Get's Global leaderboard.
globalLeaderboard
Money Earning Methods
- User can use it once per hour.
hourly - User can use it once every 6 hours.
quaterly - User can use it once every 12 hours.
hafly - User can use it once every 24 hours.
daily - User can use it once every 7 days.
weekly - User can use it once every month.
monthly - User can use it every x time. Which Bot Developor can set.
work - Rob's a user and have 50-50 chance of getting his money.
rob - User can use it every x time. Which Bot Developor can set
beg
New!!
Inventory System
- Get User's Inventory.
getUserItems - Get Shop's Inventory.
getShopItems - Add Item's to Shop!
addItem - Removes Item's to Shop!
removeItem - Set's Item's on Shop at once without doing it one by one.
setItems - Buy Command for User's to buy items from Shop.
buy - Sell Command for User's to Sell items.
removeUserItem - This tell's the about a user on what command he used already.
info
2.6.48
4 years ago
2.6.47
4 years ago
2.6.46
4 years ago
2.6.45
4 years ago
2.6.44
4 years ago
2.6.37
4 years ago
2.6.38
4 years ago
2.6.39
4 years ago
2.6.33
4 years ago
2.6.34
4 years ago
2.6.35
4 years ago
2.6.36
4 years ago
2.6.30
4 years ago
2.6.31
4 years ago
2.6.32
4 years ago
2.6.26
4 years ago
2.6.27
4 years ago
2.6.28
4 years ago
2.6.29
4 years ago
2.6.23
4 years ago
2.6.24
4 years ago
2.6.25
4 years ago
2.6.40
4 years ago
2.6.41
4 years ago
2.6.42
4 years ago
2.6.43
4 years ago
2.6.22
4 years ago
2.6.21
4 years ago