Preview deployment

interface FetchApplicationCommandOptions

export interface FetchApplicationCommandOptions extends BaseFetchOptions

Options used to fetch Application Commands from Discord

optional
cache? : boolean

Whether to cache the fetched data if it wasn't already (default: true)

Inherited from: BaseFetchOptions

optional
force? : boolean

Whether to skip the cache check and request the API

Inherited from: BaseFetchOptions

optional
guildId? : Snowflake

The guild's id to fetch commands for, for when the guild is not cached

optional
locale? : LocaleString

The locale to use when fetching this command

optional
withLocalizations? : boolean

Whether to fetch all localization data