class Provider { constructor(manager, config) { if(!config) throw new Error('No config file provided!'); if(config && (!config.database || !config.url)) throw new Error('Invalid config file provided!'); this.manager = manager; this.config = config; this.db; this.loaded = false; } } module.exports = Provider;