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()

Source

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.

Source

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

[]

Source

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

Source

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