UNPKG

@jadl/cmd

Version:
10 lines (9 loc) 549 B
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;