fix: description is not required for ctx cmds

This commit is contained in:
Skillz4Killz
2022-08-28 11:17:43 +00:00
committed by GitHub
parent dc22c06912
commit 94d5b20339
@@ -94,7 +94,7 @@ export interface CreateApplicationCommand {
}
/** https://discord.com/developers/docs/interactions/application-commands#endpoints-json-params */
export interface CreateContextApplicationCommand extends Omit<CreateApplicationCommand, "options"> {
export interface CreateContextApplicationCommand extends Omit<CreateApplicationCommand, "options" | "description"> {
/** The type of the command */
type: ApplicationCommandTypes.Message | ApplicationCommandTypes.User;
}