mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
Change emoji on guild join/leave
This commit is contained in:
1 parent
a4a90a5ae1
commit
e05c24596d
1 file changed
+2
-2
@@ -89,7 +89,7 @@ client.on('error', console.error);
|
|||||||
|
|
||||||
client.on('guildCreate', (guild) => {
|
client.on('guildCreate', (guild) => {
|
||||||
console.log(
|
console.log(
|
||||||
`${new Date().toISOString().substring(11, 19)}: Info: ➡️ ${
|
`${new Date().toISOString().substring(11, 19)}: Info: 🟢 ${
|
||||||
client.user.tag
|
client.user.tag
|
||||||
} has been added to server '${guild.name} (#${guild.memberCount})'!`
|
} has been added to server '${guild.name} (#${guild.memberCount})'!`
|
||||||
);
|
);
|
||||||
@@ -97,7 +97,7 @@ client.on('guildCreate', (guild) => {
|
|||||||
|
|
||||||
client.on('guildDelete', (guild) => {
|
client.on('guildDelete', (guild) => {
|
||||||
console.log(
|
console.log(
|
||||||
`${new Date().toISOString().substring(11, 19)}: Info: ⬅️ ${
|
`${new Date().toISOString().substring(11, 19)}: Info: 🔴 ${
|
||||||
client.user.tag
|
client.user.tag
|
||||||
} was removed from server '${guild.name} (#${guild.memberCount})'!`
|
} was removed from server '${guild.name} (#${guild.memberCount})'!`
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user