v2.0.0-dev.1
Pre-release
Pre-release
Additions
updateOptions()
function- Added
MongoDB
V4 Support
⚠️ Breaking Changes
create()
swappeduserId
withguildId
to avoid future confusions.reset()
Updated Parameters.
Changes
- All
roleSetup
functions now create & returntimestamp
, useful for sorting by creation date. fetch()
has a newusername
parameter, to automatically create the user if it doesn't exist.connect()
now acceptsauto_create
, All functions can create the user if it doesn't exist, avoiding errors.- Updated JSDocs, changed some types to interfaces.
addLevel(), addXP(), setLevel(), setXP()
now has ausername
parameter, to automatically create the user if it doesn't exist.rank()
will now auto create the user if it doesn't exist ifauto_create
is set totrue
.
Full Changelog: v2.0.0-dev.0...v2.0.0-dev.1