From dd37b3447ffb0c2bae1f15d8c3f43a22f2ea0e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sun, 22 Aug 2021 20:49:11 +0300 Subject: [PATCH] Added logging to commands.js --- src/client/commands.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/commands.js b/src/client/commands.js index 13fb0a4..fbde5ca 100644 --- a/src/client/commands.js +++ b/src/client/commands.js @@ -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); } })();