1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 03:33:17 +00:00

Update client.js

This commit is contained in:
MatteZ02 2020-02-06 08:04:15 +02:00
parent 57a4f5187b
commit 300714774e

View File

@ -52,6 +52,10 @@ module.exports = class extends Client {
this.db.FieldValue = require('firebase-admin').firestore.FieldValue; this.db.FieldValue = require('firebase-admin').firestore.FieldValue;
if (this.config.devMode) {
this.config.token = this.config.devToken;
}
this.on('ready', () => { this.on('ready', () => {
require(`${events}ready`).execute(this, Discord); require(`${events}ready`).execute(this, Discord);
}); });