fix: add SDT typings to autocomplete commands (#363)

This commit is contained in:
Peter-MJ-Parker
2024-07-18 22:54:23 -05:00
committed by GitHub
parent a91f260a86
commit 92623d2914

View File

@@ -107,7 +107,7 @@ export interface ModalSubmitCommand extends Module {
export interface AutocompleteCommand {
onEvent?: ControlPlugin[];
execute: (ctx: AutocompleteInteraction) => Awaitable<unknown>;
execute: (ctx: AutocompleteInteraction, tbd: SDT) => Awaitable<unknown>;
}
export interface DiscordEventCommand<T extends keyof ClientEvents = keyof ClientEvents>