Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = async (client) =>{
- const guild = client.guilds.cache.get('716316807912226837');
- setInterval(() =>{
- const memberCount = guild.memberCount;
- const channel = guild.channels.cache.get('786822441103392798');
- channel.setName(`Total Members: ${memberCount.toLocaleString()}`);
- console.log('Updating Member Count');
- }, 5000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement