changed color for when people add/kick the bot

This commit is contained in:
Loïc Bersier 2018-09-09 00:48:50 +02:00
parent 04a041f0fb
commit ebb4575e62

View file

@ -35,8 +35,8 @@ client.registry
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: 0x008000,
title: 'New guild!', title: 'Someone added the bot! :D YAY',
description: `${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`, description: `${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`,
timestamp: new Date(), timestamp: new Date(),
}; };
@ -48,7 +48,7 @@ client.registry
console.log(`***BOT KICKED***\n${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}\n***BOT KICKED***`); console.log(`***BOT KICKED***\n${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}\n***BOT KICKED***`);
const channel = client.channels.get('487766113292124160'); const channel = client.channels.get('487766113292124160');
const exampleEmbed = { const exampleEmbed = {
color: 0x0099ff, color: 0xFF0000,
title: 'Someone kicked the bot :(', title: 'Someone kicked the bot :(',
description: `${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`, description: `${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`,
timestamp: new Date(), timestamp: new Date(),