fix client not respond on /account
This commit is contained in:
1 parent
e79ba906af
commit
7565a75575
2 files changed
+2
-1
No files matched your search
@@ -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');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user