Skip to content

2.0.0

Compare
Choose a tag to compare
@paulhobbel paulhobbel released this 26 Dec 10:23
· 7 commits to main since this release

BREAKING CHANGE: Starting v2.0.0 and onwards there is no support for Discord.JS v11 and lower.

  • Removed non functional backwards compatibility with Discord.JS v11 and lower (#12)
  • Migrated to Typescript (#13)
  • Fixed shard sync (#14)
  • Removed usage of non existing function db.close() (#9)

Due to the switch to TypeScript the way you import the provider has changed:

const MongoDBProvider = require('commando-provider-mongo');

Becomes:

const MongoDBProvider = require('commando-provider-mongo').MongoDBProvider;

Or in the new import style as follows:

import { MongoDBProvider } from 'commando-provider-mongo';