Presence tracking

This commit is contained in:
hydrabolt
2016-04-17 18:20:57 +01:00
parent 71a4cd6a93
commit abc3f9e2fa
8 changed files with 130 additions and 4 deletions

View File

@@ -48,3 +48,7 @@ client.on('guildRoleDelete', (guild, role) => {
client.on('guildRoleUpdate', (guild, old, newRole) => {
console.log('updated role', old.name, 'to', newRole.name, 'in', guild.name);
});
client.on('presenceUpdate', (oldUser, newUser) => {
console.log('presence from', oldUser.username, 'to', newUser.username);
});