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:
parent
57a4f5187b
commit
300714774e
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user