|
|
@ -32,7 +32,7 @@ client.registry
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// when bot join a guild send embeds with detail about it
|
|
|
|
// when bot join a guild send embeds with detail about it
|
|
|
|
client.on("guildCreate", guild => {
|
|
|
|
client.on("guildCreate", guild => {
|
|
|
|
console.log(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`)
|
|
|
|
console.log(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`);
|
|
|
|
const channel = client.channels.get('487766113292124160');
|
|
|
|
const channel = client.channels.get('487766113292124160');
|
|
|
|
const exampleEmbed = {
|
|
|
|
const exampleEmbed = {
|
|
|
|
color: 0x0099ff,
|
|
|
|
color: 0x0099ff,
|
|
|
|