From 2818d7cc1d76c06252a5d89dbc48c4340cf23f3f Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Wed, 14 Jun 2023 19:11:00 +0100 Subject: [PATCH] fix(client): Add missing application command permissions update event (#9639) fix(client): add missing event Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/core/src/client.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/src/client.ts b/packages/core/src/client.ts index 5c563f0eb955..5ff88d2fec94 100644 --- a/packages/core/src/client.ts +++ b/packages/core/src/client.ts @@ -7,6 +7,7 @@ import { AsyncEventEmitter } from '@vladfrangu/async_event_emitter'; import { GatewayDispatchEvents, GatewayOpcodes, + type GatewayApplicationCommandPermissionsUpdateDispatchData, type GatewayAutoModerationActionExecutionDispatchData, type GatewayAutoModerationRuleCreateDispatchData, type GatewayAutoModerationRuleDeleteDispatchData, @@ -89,6 +90,9 @@ export interface WithIntrinsicProps extends IntrinsicProps { } export interface MappedEvents { + [GatewayDispatchEvents.ApplicationCommandPermissionsUpdate]: [ + WithIntrinsicProps, + ]; [GatewayDispatchEvents.AutoModerationActionExecution]: [ WithIntrinsicProps, ];