Update ready.js

This commit is contained in:
Isaac 2020-09-08 18:36:41 +01:00 committed by GitHub
parent ee966aa9a9
commit f2af5ef40c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ module.exports = {
updatePresence(); updatePresence();
setInterval(() => { setInterval(() => {
updatePresence(); updatePresence();
}, 15000); }, 60000);
if (client.guilds.cache.get(config.guild).member(client.user).hasPermission('ADMINISTRATOR', false)) if (client.guilds.cache.get(config.guild).member(client.user).hasPermission('ADMINISTRATOR', false))
@ -39,4 +39,4 @@ module.exports = {
log.warn('Bot does not have \'ADMINISTRATOR\' permission'); log.warn('Bot does not have \'ADMINISTRATOR\' permission');
} }
}; };