Interface EditGuildMessageApplicationCommandOptions

interface EditGuildMessageApplicationCommandOptions {
    defaultMemberPermissions?: null | string;
    id?: string;
    name?: string;
    nameLocalizations?: null | Partial<Record<Locale, string>>;
    nsfw?: boolean;
}

Hierarchy

Properties

defaultMemberPermissions?: null | string

The default member permissions for the command.

id?: string

The ID of the command, if known. (Only usable when bulkEditing guild commands.)

name?: string

The name of the command.

nameLocalizations?: null | Partial<Record<Locale, string>>

A dictionary of locales to localized names.

nsfw?: boolean

Whether the command is age restricted.