diff --git a/packages/core/src/structures/interactions.ts b/packages/core/src/structures/interactions.ts index 6e2d8b7..8e1e983 100644 --- a/packages/core/src/structures/interactions.ts +++ b/packages/core/src/structures/interactions.ts @@ -82,6 +82,7 @@ export abstract class BaseInteraction implements Model { this.version = data.version; this.locale = data.locale as Locales; + this.guildLocales = data.guild_locale as Locales; const perms = data.app_permissions; @@ -117,6 +118,7 @@ export abstract class BaseInteraction implements Model { // must be implemented locale: Locales; + guildLocales: Locales; // readonly property according to docs readonly version: 1; @@ -553,6 +555,7 @@ export class PingInteraction extends BaseInteraction implements Model { commandType: ApplicationCommandTypes; commandGuildId?: Snowflake; override locale = undefined as never; + override guildLocales = undefined as never; async pong(): Promise { await this.session.rest.post(