mirror of
https://github.com/musix-org/musix-oss
synced 2026-10-15 17:03:45 +00:00
Update client.js
This commit is contained in:
1 parent
57a4f5187b
commit
300714774e
1 file changed
+4
@@ -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);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user