Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
luluwaffless authored Oct 17, 2024
1 parent 933632a commit 601879e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ async function check(individual) {
.then(function (response) {
if (response.data["userPresences"] && response.data.userPresences.length > 0) {
response.data.userPresences.forEach((presence) => {
console.log(presence);
const { userPresenceType, lastLocation, placeId, gameId, userId } = presence;
if (userPresenceType != sessionInfo.users[presence.userId].status || presence.gameId != sessionInfo.users[presence.userId].gameId) {
sessionInfo.users[userId].lastStatus = sessionInfo.users[userId].status;
Expand Down Expand Up @@ -131,4 +130,4 @@ client.on('ready', async function () {
});
};
});
client.login(process.env.token);
client.login(process.env.token);

0 comments on commit 601879e

Please sign in to comment.