diff --git a/src/client/commands.js b/src/client/commands.js index 078a8ee..a1a8a14 100644 --- a/src/client/commands.js +++ b/src/client/commands.js @@ -44,16 +44,17 @@ module.exports = { try { await rest.put( Routes.applicationGuildCommands(client.user.id, guild.id), - { body: commands }, + { body: commands } ); + client.funcs.logger('Slash Commands', 'Guild Applications – Successful' + "\n" + guild.id + " / " + guild.name); } catch (DiscordAPIError) { - + client.funcs.logger('Slash Commands', 'Guild Applications – Failed' + "\n" + guild.id + " / " + guild.name); } }); } else { await rest.put( Routes.applicationCommands(client.user.id), - { body: commands }, + { body: commands } ); }