You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
440 B
JavaScript
12 lines
440 B
JavaScript
6 years ago
|
module.exports = (client) => {
|
||
|
console.log(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`);
|
||
|
const channel = client.channels.get(statsChannel);
|
||
|
const addEmbed = {
|
||
|
color: 0x008000,
|
||
|
title: 'Someone added the bot! :D YAY',
|
||
|
description: `${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`,
|
||
|
timestamp: new Date(),
|
||
|
};
|
||
|
|
||
|
channel.send({ embed: addEmbed });
|
||
|
};
|