fix client not respond on /account

This commit is contained in:
SowinskiBraeden committed 2022-03-21 16:47:40 -07:00
1 parent e79ba906af
commit 7565a75575
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ module.exports = (client, guild) => {
try {
await GuildAPI.commands.post({ data: dataStuff });
} catch (e) {
if (client.config.Dev=="DEVELOPMENT") console.log(e);
client.log('Error: API missing permissions, re-invite the bot');
}
});