Updated ready.js ids
parent
36de3a1510
commit
d4666d19eb
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue