Added time stamp

This commit is contained in:
Loïc Bersier 2018-09-08 01:55:01 +02:00
parent 4c86aa19d9
commit a832e20447

View file

@ -24,10 +24,10 @@ client.registry
// Ready messages // Ready messages
client.on('ready', () => { client.on('ready', () => {
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.readyAt}`);
client.user.setActivity('with nobody :('); client.user.setActivity('with nobody :(');
const channel = client.channels.get('487766113292124160'); 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.`); channel.send(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users. ${client.readyAt}`);
}); });
// Auto respond to messages // Auto respond to messages
client.on("message", (message) => { client.on("message", (message) => {