mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-17 09:23:07 +02:00
Update ready.js
This commit is contained in:
parent
ee966aa9a9
commit
f2af5ef40c
@ -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');
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user