From afffa95ffb454d680bd8daeea397059e67007089 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Wed, 9 Jun 2021 18:43:21 -0600 Subject: [PATCH] status --- events/guildMemberAdd.js | 2 ++ events/guildMemberRemove.js | 2 ++ events/ready.js | 21 ++------------------- 3 files changed, 6 insertions(+), 19 deletions(-) diff --git a/events/guildMemberAdd.js b/events/guildMemberAdd.js index f837d38..35611a2 100644 --- a/events/guildMemberAdd.js +++ b/events/guildMemberAdd.js @@ -16,4 +16,6 @@ module.exports = async (client, member) => { ) { try {member.guild.channels.cache.get(tg.wch).send(await sendResponse(member, member.guild.channels.cache.get(tg.wch), 'xdlol', client, tr.responses.get(tr.bindings.get('welcome'))));} catch {} } + + client.user.setActivity(`over ${client.guilds.cache.get(client.misc.neptune).members.cache.size} members!`, {type: "WATCHING"}); }; \ No newline at end of file diff --git a/events/guildMemberRemove.js b/events/guildMemberRemove.js index 4740aeb..f51bfd2 100644 --- a/events/guildMemberRemove.js +++ b/events/guildMemberRemove.js @@ -38,4 +38,6 @@ module.exports = async (client, member) => { ); }); } + + client.user.setActivity(`over ${client.guilds.cache.get(client.misc.neptune).members.cache.size} members!`, {type: "WATCHING"}); }; \ No newline at end of file diff --git a/events/ready.js b/events/ready.js index 9917312..87e390d 100644 --- a/events/ready.js +++ b/events/ready.js @@ -28,25 +28,8 @@ module.exports = async client => { console.log(`${chalk.gray('[INFO]')} >> ${chalk.white(`Running on ${client.guilds.cache.size} servers!`)}`); console.log(`${chalk.gray('[INFO]')} >> ${chalk.white(`Serving ${client.users.cache.size} users!`)}`); - let responses = { - "PLAYING": [ - `with my darling`, 'RAIN: Shadow Lords', "with my waifu", "with the neko formula", - "with magic", "terrible anime games", "anime OSTs at max volume", - `${Math.ceil(Math.random() * 100)} days of trying to become a samurai`, - "with the sauce", "witch hats are >", "explosion magic is the best magic", - "with Kazuma's sanity" - ,`in ${client.guilds.cache.size} servers` - ], - "WATCHING": [ - `for ${client.commands.size} commands`, - "I'm not a bad slime, slurp!", "Lelouch rule the world!", - "a slime somehow start an empire", "a fox-maid get her tail fluffed", - "a raccoon-girl and some guy with a shield", "some chick with unusually red hair", - "Mob hit 100", "a really bad harem anime", "The Black Swordsman", - "The Misfit of Demon King Academy", "Akame ga Kill" - ,`over ${client.guilds.cache.size} servers` - ] - }; + 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");}