1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +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;
if (this.config.devMode) {
this.config.token = this.config.devToken;
}
this.on('ready', () => {
require(`${events}ready`).execute(this, Discord);
});