From a4025837a7138ce026a1b5df1a22b4ba6bc3fd57 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Sat, 19 Mar 2022 14:14:54 -0700 Subject: [PATCH] change error output to log --- util/RegisterSlashCommands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } }); });