This commit is contained in:
Loïc Bersier 2018-09-08 01:37:16 +02:00
parent d34c2d7a19
commit 62b5ec211c

View file

@ -26,6 +26,8 @@ client.registry
console.log(`Logged in as ${client.user.tag}! (${client.user.id})`); console.log(`Logged in as ${client.user.tag}! (${client.user.id})`);
console.log(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users.`); console.log(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users.`);
client.user.setActivity('with nobody :('); client.user.setActivity('with nobody :(');
const channel = client.channels.get('487766113292124160');
channel.send(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users.`);
}); });
// Auto respond to messages // Auto respond to messages
client.on("message", (message) => { client.on("message", (message) => {