Updated ready.js ids
parent
36de3a1510
commit
d4666d19eb
|
@ -2,7 +2,7 @@ const discord = require("discord.js");
|
|||
|
||||
module.exports = {
|
||||
name: "buy",
|
||||
aliases: [''],
|
||||
aliases: ['paid'],
|
||||
/**
|
||||
*
|
||||
* @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(() =>{
|
||||
const memberCount = guild.members.cache.filter(m => !m.user.bot).size;
|
||||
const channel = guild.channels.cache.get('857995452052799538');
|
||||
channel.setName(`Humans: ${memberCount.toLocaleString()}`);
|
||||
const channel = guild.channels.cache.get('906167542249308160');
|
||||
channel.setName(`Discord Members: ${memberCount.toLocaleString()}`);
|
||||
}, 600000);
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue