Skip to content

Commit

Permalink
Update presenceUpdate.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
akpi816218 authored May 5, 2024
1 parent d96973a commit 040fd35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events/presenceUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Writable } from '../struct/discord/types';
export const name = Events.PresenceUpdate;
export const once = false;
export const execute = async (before: Presence, after: Presence) => {
let guild: Guild;
/*let guild: Guild;
if (before.guild) guild = before.guild;
else if (after.guild) guild = after.guild;
else return;
Expand Down Expand Up @@ -88,5 +88,5 @@ function getDifferentElements<T>(before: T[], after: T[]) {
return {
removed: beforeCopy,
added: afterCopy
};
};*/
}

0 comments on commit 040fd35

Please sign in to comment.