mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-06-03 12:50:43 +00:00
AAAAAAAAAAAAAA
This commit is contained in:
parent
7957cba3f6
commit
08a190e6d9
|
@ -18,19 +18,19 @@ client.on("ready", () => {
|
||||||
console.log(`Bot has started, with ${client.users.size} users, in ${client.channels.size} channels of ${client.guilds.size} guilds.`);
|
console.log(`Bot has started, with ${client.users.size} users, in ${client.channels.size} channels of ${client.guilds.size} guilds.`);
|
||||||
// Example of changing the bot's playing game to something useful. `client.user` is what the
|
// Example of changing the bot's playing game to something useful. `client.user` is what the
|
||||||
// docs refer to as the "ClientUser".
|
// docs refer to as the "ClientUser".
|
||||||
client.user.setActivity(`${guild.memberCount} of you horrible people`,{ type: 'LISTENING' });
|
client.user.setActivity(`${client.users.size} of you horrible people`,{ type: 'LISTENING' });
|
||||||
});
|
});
|
||||||
|
|
||||||
client.on("guildCreate", guild => {
|
client.on("guildCreate", guild => {
|
||||||
// This event triggers when the bot joins a guild.
|
// This event triggers when the bot joins a guild.
|
||||||
console.log(`New guild joined: ${guild.name} (id: ${guild.id}). This guild has ${guild.memberCount} members!`);
|
console.log(`New guild joined: ${guild.name} (id: ${guild.id}). This guild has ${guild.memberCount} members!`);
|
||||||
client.user.setActivity(`${guild.memberCount} of you horrible people`,{ type: 'LISTENING' });
|
client.user.setActivity(`${client.users.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})`);
|
||||||
client.user.setActivity(`${guild.memberCount} of you horrible people`,{ type: 'LISTENING' });
|
client.user.setActivity(`${client.users.size} of you horrible people`,{ type: 'LISTENING' });
|
||||||
});
|
});
|
||||||
//osseley stop
|
//osseley stop
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user