mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 03:39:32 +00:00 
			
		
		
		
	Update ready.js
This commit is contained in:
		@@ -25,9 +25,12 @@ module.exports = {
 | 
				
			|||||||
        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('posted', () => {
 | 
				
			||||||
 | 
					                console.log('Server count posted!');
 | 
				
			||||||
 | 
					            });
 | 
				
			||||||
            dbl.on('error', error => {
 | 
					            dbl.on('error', error => {
 | 
				
			||||||
                console.log('Error with DBL: ' + error);
 | 
					                console.log('Error with DBL: ' + error);
 | 
				
			||||||
            })
 | 
					            });
 | 
				
			||||||
            dbl.postStats(client.guilds.size);
 | 
					            dbl.postStats(client.guilds.size);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        console.log('- Activated -');
 | 
					        console.log('- Activated -');
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user