Updated ready.js ids

imgbot
kieranrobson 2022-05-10 01:26:36 +01:00
parent 36de3a1510
commit d4666d19eb
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ const discord = require("discord.js");
module.exports = { module.exports = {
name: "buy", name: "buy",
aliases: [''], aliases: ['paid'],
/** /**
* *
* @param {Client} client * @param {Client} client

View File

@ -7,11 +7,11 @@ client.on('ready', () => {
const guild = client.guilds.cache.get('744586833135927366'); const guild = client.guilds.cache.get('427865794467069962');
setInterval(() =>{ setInterval(() =>{
const memberCount = guild.members.cache.filter(m => !m.user.bot).size; const memberCount = guild.members.cache.filter(m => !m.user.bot).size;
const channel = guild.channels.cache.get('857995452052799538'); const channel = guild.channels.cache.get('906167542249308160');
channel.setName(`Humans: ${memberCount.toLocaleString()}`); channel.setName(`Discord Members: ${memberCount.toLocaleString()}`);
}, 600000); }, 600000);
}) })