fix presence updating

This commit is contained in:
Amish Shah
2016-10-25 21:40:53 +01:00
parent 2ee6da8d79
commit 0f8e8dddff
4 changed files with 5 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ const client = new Discord.Client({ fetchAllMembers: false, apiRequestMethod: 's
const { email, password, token, usertoken, song } = require('./auth.json');
client.login(token).then(atoken => console.log('logged in with token ' + atoken)).catch(console.error);
client.login(usertoken).then(atoken => console.log('logged in with token ' + atoken)).catch(console.error);
client.ws.on('send', console.log);