change error output to log
This commit is contained in:
1 parent
9c835a2503
commit
a4025837a7
1 file changed
+1
-1
@@ -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');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user