Skip to content

Commit

Permalink
fix: add SDT typings to autocomplete commands (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-MJ-Parker authored Jul 19, 2024
1 parent a91f260 commit 92623d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/core-modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 92623d2

Please sign in to comment.