Discord Economy Super v1.7.1 #30
shadowplay1
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v1.7.1:
customCurrencySet
,customCurrencyAdd
andcustomCurrencySubtract
events so the changes in any custom currencies could be tracked!currency
argument in all item buying methods that takes eaither currency ID, name or its symbol so the currency balance will be subtracted instead of core balance. Requires thesubtractOnBuy
option to be enabled.stack()
method for inventory items that returns the number of specific item (quantity) and the total price of it in the inventory!clearDaily
,clearWork
andclearWeekly
methods inCooldownItem
andCooldowns
classes to clear the specific cooldowns.Added a
save()
method forShop-
,Inventory-
andHistory-
items that allows you to edit the item's object properties save the edited objext in database!Added a
.toString()
method for some classes.Shop-
,Inventory-
andHistory-
items'itemObject
property was changed torawObject
so it could make sense in the codeNow a warning will be displayed in console if using a dev version in both MongoDB and JSON versions (see the screenshot below).
buy()
method inShopItem
class.clear()
method inItems
class.This discussion was created from the release Discord Economy Super v1.7.1.
Beta Was this translation helpful? Give feedback.
All reactions