Fixed the color of guildCreate

This commit is contained in:
Loic Bersier 2018-09-27 15:19:24 +02:00
parent 4cbdd88d26
commit d249f2fcb6

View file

@ -43,7 +43,7 @@ client.registry
console.log(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`); console.log(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`);
const channel = client.channels.get(statsChannel); const channel = client.channels.get(statsChannel);
const addEmbed = new Discord.RichEmbed() const addEmbed = new Discord.RichEmbed()
.setColor("#FF0000") .setColor("#52e80d")
.setTitle('Someone added me ! YAY :D') .setTitle('Someone added me ! YAY :D')
.setDescription(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`) .setDescription(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`)
.setTimestamp() .setTimestamp()