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

Update ready.js

This commit is contained in:
Matte 2020-02-13 05:38:40 +02:00 committed by GitHub
parent db133c587d
commit 096de6f9ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ module.exports = {
console.log('- DB Set -'); console.log('- DB Set -');
client.user.setActivity(`@${client.user.username} help | 🎶`, { type: 'LISTENING' }); client.user.setActivity(`@${client.user.username} help | 🎶`, { type: 'LISTENING' });
client.user.setStatus('online'); client.user.setStatus('online');
const dbl = new DBL(client.config.dblkey, client); const dbl = new DBL(client.config.dblKey, client);
if (client.config.dblApi && !client.config.devMode) { if (client.config.dblApi && !client.config.devMode) {
dbl.on('error', error => { dbl.on('error', error => {
console.log('Error with DBL: ' + error); console.log('Error with DBL: ' + error);