From f9ccdc0c84e4a732a3f3ce37b81c468fb9661d49 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Wed, 31 Aug 2022 16:03:27 -0500 Subject: [PATCH] fix: remove unsafe stuff --- packages/core/src/structures/interactions.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/core/src/structures/interactions.ts b/packages/core/src/structures/interactions.ts index 2c513c2..5332c8b 100644 --- a/packages/core/src/structures/interactions.ts +++ b/packages/core/src/structures/interactions.ts @@ -80,10 +80,6 @@ export abstract class BaseInteraction implements Model { this.applicationId = data.application_id; this.version = data.version; - Object.defineProperty(this, "locale", { - value: data.locale, - }); - const perms = data.app_permissions; if (perms) {