Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(config) {
try {
this.dashbot = require('dashbot')(_.get(config, 'key')).google;
this.platformType = BaseApp.PLATFORM_ENUM.GOOGLE_ACTION;
} catch (err) {
console.log('\nPlease install dashbot: npm install dashbot\n');
}
}