Skip to main content

Interface: RegisterOptions

Properties

behaviorWhenNotIdentical?

optional behaviorWhenNotIdentical: Overwrite | LogToConsole | VerboseOverwrite

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:603


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:593


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:608


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:598