Skip to main content

Interface: RegisterOptions

ApplicationCommandRegistry.RegisterOptions

Properties

behaviorWhenNotIdentical

Optional behaviorWhenNotIdentical: RegisterBehavior

Specifies what we should do when the command is present, but not identical with the data you provided

default ApplicationCommandRegistries.getDefaultBehaviorWhenNotIdentical()

Defined in

projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:468


guildIds

Optional guildIds: string[]

If this is specified, the application commands will only be registered for these guild ids.

Defined in

projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:458


idHints

Optional idHints: string[]

Specifies a list of command ids that we should check in the event of a name mismatch

default []

Defined in

projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:473


registerCommandIfMissing

Optional registerCommandIfMissing: boolean

If we should register the command when it is missing

default true

Defined in

projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:463