mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-06-19 19:05:23 +00:00
sanity
This commit is contained in:
parent
e2ac047feb
commit
794d590767
|
@ -26,6 +26,14 @@ client.on("guildCreate", guild => {
|
||||||
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
|
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
client.on('guildMemberAdd', member => {
|
||||||
|
console.log(`New member joined: ${member.name} (id: ${member.id}).`);
|
||||||
|
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
|
||||||
|
});
|
||||||
|
client.on('guildMemberRemove', member => {
|
||||||
|
console.log(`New member joined: ${member.name} (id: ${member.id}).`);
|
||||||
|
client.user.setActivity(`${client.users.cache.size} of you horrible people`,{ type: 'LISTENING' });
|
||||||
|
});
|
||||||
client.on("guildDelete", guild => {
|
client.on("guildDelete", guild => {
|
||||||
// this event triggers when the bot is removed from a guild.
|
// this event triggers when the bot is removed from a guild.
|
||||||
console.log(`I have been removed from: ${guild.name} (id: ${guild.id})`);
|
console.log(`I have been removed from: ${guild.name} (id: ${guild.id})`);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user