Fix presences probably ¯\_(ツ)_/¯

This commit is contained in:
Amish Shah
2016-10-01 15:27:49 +01:00
parent ab15c45d96
commit 7c26603773
5 changed files with 31 additions and 12 deletions

View File

@@ -16,9 +16,8 @@ client.on('ready', () => {
console.log('ready!');
});
client.on('presenceUpdate', (o, n) => {
if (o.username.startsWith('hydr'))
console.log(o.username, o.presence.status, n.presence.status);
client.on('userUpdate', (o, n) => {
console.log(o.username, n.username);
});
client.on('channelCreate', channel => {