diff --git a/util/RegisterSlashCommands.js b/util/RegisterSlashCommands.js index 087c6e7..9971540 100644 --- a/util/RegisterSlashCommands.js +++ b/util/RegisterSlashCommands.js @@ -28,7 +28,7 @@ module.exports = (client, guild) => { try { await GuildAPI.commands.post({ data: dataStuff }); } catch (e) { - console.log(e); + client.log('Error: API missing permissions, re-invite the bot'); } }); });