fix crashing on canary when searching slash commands #13309
Annotations
10 errors
test:
src/plugins/_core/supportHelper.tsx#L158
Type '{ name: string; description: string; predicate: (ctx: CommandContext) => boolean; execute: () => Promise<{ content: string; }>; }' is missing the following properties from type 'Command': untranslatedName, untranslatedDescription
|
test:
src/plugins/_core/supportHelper.tsx#L164
Type '{ name: string; description: string; predicate: (ctx: CommandContext) => boolean; execute: () => { content: string; }; }' is missing the following properties from type 'Command': untranslatedName, untranslatedDescription
|
test:
src/plugins/friendInvites/index.ts#L32
Type '{ name: string; description: string; inputType: ApplicationCommandInputType.BOT; execute: (args: Argument[], ctx: CommandContext) => Promise<...>; }' is missing the following properties from type 'Command': untranslatedName, untranslatedDescription
|
test:
src/plugins/friendInvites/index.ts#L49
Type '{ name: string; description: string; inputType: ApplicationCommandInputType.BOT; execute: (_: Argument[], ctx: CommandContext) => Promise<...>; }' is missing the following properties from type 'Command': untranslatedName, untranslatedDescription
|
test:
src/plugins/friendInvites/index.ts#L68
Type '{ name: string; description: string; inputType: ApplicationCommandInputType.BOT; execute: (_: Argument[], ctx: CommandContext) => Promise<...>; }' is missing the following properties from type 'Command': untranslatedName, untranslatedDescription
|
test:
src/plugins/messageTags/index.ts#L68
Object literal may only specify known properties, and '[MessageTagsMarker]' does not exist in type 'Command'.
|
test:
src/plugins/messageTags/index.ts#L79
Object literal may only specify known properties, and 'name' does not exist in type 'PluginOptionBoolean'.
|
test:
src/plugins/messageTags/index.ts#L92
Type '{ name: string; description: string; inputType: ApplicationCommandInputType.BUILT_IN; options: { name: string; description: string; type: ApplicationCommandOptionType.SUB_COMMAND; options: { ...; }[]; }[]; execute(args: Argument[], ctx: CommandContext): Promise<...>; }' is missing the following properties from type 'Command': untranslatedName, untranslatedDescription
|
test:
src/plugins/moreCommands/index.ts#L38
Type '{ name: string; description: string; options: Option[]; inputType: ApplicationCommandInputType.BOT; execute: (opts: Argument[], ctx: CommandContext) => void; }' is missing the following properties from type 'Command': untranslatedName, untranslatedDescription
|
test:
src/plugins/moreCommands/index.ts#L49
Type '{ name: string; description: string; options: Option[]; execute: (opts: Argument[]) => { content: string; }; }' is missing the following properties from type 'Command': untranslatedName, untranslatedDescription
|