mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: description is not required for ctx cmds
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user