From 92623d2914fb80e31365f06cf896bb37f36fc814 Mon Sep 17 00:00:00 2001 From: Peter-MJ-Parker <34216187+Peter-MJ-Parker@users.noreply.github.com> Date: Thu, 18 Jul 2024 22:54:23 -0500 Subject: [PATCH] fix: add SDT typings to autocomplete commands (#363) --- src/types/core-modules.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/core-modules.ts b/src/types/core-modules.ts index a4dc9267..48a7c8a5 100644 --- a/src/types/core-modules.ts +++ b/src/types/core-modules.ts @@ -107,7 +107,7 @@ export interface ModalSubmitCommand extends Module { export interface AutocompleteCommand { onEvent?: ControlPlugin[]; - execute: (ctx: AutocompleteInteraction) => Awaitable; + execute: (ctx: AutocompleteInteraction, tbd: SDT) => Awaitable; } export interface DiscordEventCommand