diff --git a/events/ready.js b/events/ready.js index 87e390d..ada79da 100644 --- a/events/ready.js +++ b/events/ready.js @@ -29,14 +29,6 @@ module.exports = async client => { console.log(`${chalk.gray('[INFO]')} >> ${chalk.white(`Serving ${client.users.cache.size} users!`)}`); client.user.setActivity(`over ${client.guilds.cache.get(client.misc.neptune).members.cache.size} members!`, {type: "WATCHING"}); - - const setR = () => { - let type = Object.keys(responses)[Math.floor(Math.random() * Object.keys(responses).length)]; - if (type === "PLAYING") {client.user.setActivity(responses[type][Math.floor(Math.random() * responses[type].length)] + " | " + prefix + "help");} - else {client.user.setActivity(responses[type][Math.floor(Math.random() * responses[type].length)] + " | " + prefix + "help", {type: type});} - } - setR(); - setInterval(setR, 14400000); const setPL = async () => {let tg; for (tg of Array.from(client.guilds.cache.values)) { let tguild = await GuildSettings.findOne({gid: tg.id});