Skip to content

v2.0.0-dev.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Abadima Abadima released this 07 Aug 05:01

Additions

  • updateOptions() function
  • Added MongoDB V4 Support

⚠️ Breaking Changes

  • create() swapped userId with guildId to avoid future confusions.
  • reset() Updated Parameters.

Changes

  • All roleSetup functions now create & return timestamp, useful for sorting by creation date.
  • fetch() has a new username parameter, to automatically create the user if it doesn't exist.
  • connect() now accepts auto_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 a username parameter, to automatically create the user if it doesn't exist.
  • rank() will now auto create the user if it doesn't exist if auto_create is set to true.

Full Changelog: v2.0.0-dev.0...v2.0.0-dev.1