From a851a7317e687635ad1ae8bd7e99a7945524b969 Mon Sep 17 00:00:00 2001 From: akpi816218 Date: Sun, 5 May 2024 12:45:51 -0700 Subject: [PATCH] disbale event --- src/events/{presenceUpdate.ts => presenceUpdate.tsdisabled} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/events/{presenceUpdate.ts => presenceUpdate.tsdisabled} (98%) diff --git a/src/events/presenceUpdate.ts b/src/events/presenceUpdate.tsdisabled similarity index 98% rename from src/events/presenceUpdate.ts rename to src/events/presenceUpdate.tsdisabled index dac2577..419bf04 100644 --- a/src/events/presenceUpdate.ts +++ b/src/events/presenceUpdate.tsdisabled @@ -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; @@ -88,5 +88,5 @@ function getDifferentElements(before: T[], after: T[]) { return { removed: beforeCopy, added: afterCopy - };*/ + }; }