This commit is contained in:
Loïc Bersier 2018-09-08 20:21:08 +02:00
parent 7c49f359f1
commit 3be13d9d03

View file

@ -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,