@jadl/cmd
Version:
A command handler for JADL
10 lines (9 loc) • 549 B
TypeScript
import { RESTPostAPIApplicationCommandsJSONBody, RESTGetAPIApplicationCommandResult, Snowflake } from 'discord-api-types/v9';
export interface InteractionChanges {
added: RESTPostAPIApplicationCommandsJSONBody[];
updated: Array<RESTPostAPIApplicationCommandsJSONBody & {
id: Snowflake;
}>;
deleted: RESTGetAPIApplicationCommandResult[];
}
export declare const SeekInteractions: (oldInteractions: RESTGetAPIApplicationCommandResult[], newInteractions: RESTPostAPIApplicationCommandsJSONBody[]) => InteractionChanges;