forked from Supositware/Haha-Yes
changed color for when people add/kick the bot
This commit is contained in:
parent
04a041f0fb
commit
ebb4575e62
1 changed files with 3 additions and 3 deletions
6
index.js
6
index.js
|
@ -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(),
|
||||||
|
|
Loading…
Reference in a new issue