2.0.0
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';