Interface ApplicationCommandOptions<T, TD>

interface ApplicationCommandOptions<T extends string, TD extends string> {
    botIds?: string[];
    contexts?: InteractionContextType[];
    defaultMemberPermissions?: PermissionResolvable;
    description: TD;
    descriptionLocalizations?: Partial<Record<Locale, null | string>>;
    dmPermission?: boolean;
    guilds?: IGuild[];
    integrationTypes?: ApplicationIntegrationType[];
    name?: T;
    nameLocalizations?: Partial<Record<Locale, null | string>>;
    nsfw?: boolean;
}

Type Parameters

  • T extends string
  • TD extends string

Properties

botIds?: string[]
contexts?: InteractionContextType[]
defaultMemberPermissions?: PermissionResolvable
description: TD
descriptionLocalizations?: Partial<Record<Locale, null | string>>
dmPermission?: boolean
guilds?: IGuild[]
integrationTypes?: ApplicationIntegrationType[]
name?: T
nameLocalizations?: Partial<Record<Locale, null | string>>
nsfw?: boolean