Interface CommandInfoUserInternal

Typings for a command initiated by a user profile context menu action.

interface CommandInfoUser {
    type: User;
    name: string | Locales;
    owners_only?: boolean;
    nsfw?: boolean;
    integration_types?: ApplicationIntegrationType[];
    contexts?: InteractionContextType[];
}

Hierarchy (View Summary)

Properties

type: User
name: string | Locales
owners_only?: boolean
false
nsfw?: boolean
false
integration_types?: ApplicationIntegrationType[]