mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 06:49:32 +00:00 
			
		
		
		
	Added logging to commands.js
This commit is contained in:
		@@ -18,7 +18,7 @@ module.exports = {
 | 
			
		||||
 | 
			
		||||
        (async () => {
 | 
			
		||||
            try {
 | 
			
		||||
                console.log('[Slash Commands] Started refreshing application (/) commands.');
 | 
			
		||||
                client.funcs.logger('Slash Commands', 'Started refreshing application (/) commands.');
 | 
			
		||||
 | 
			
		||||
                if(version.includes("-dev")){
 | 
			
		||||
                    await rest.put(
 | 
			
		||||
@@ -44,9 +44,9 @@ module.exports = {
 | 
			
		||||
                    );
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                console.log('[Slash Commands] Successfully reloaded application (/) commands.' + "\n");
 | 
			
		||||
                client.funcs.logger('Slash Commands', 'Successfully reloaded application (/) commands.' + "\n");
 | 
			
		||||
            } catch (error) {
 | 
			
		||||
                console.log('[Slash Commands] Reloading application (/) commands failed.' + "\n");
 | 
			
		||||
                client.funcs.logger('Slash Commands', 'Reloading application (/) commands failed.' + "\n");
 | 
			
		||||
                console.error(error);
 | 
			
		||||
            }
 | 
			
		||||
        })();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user