Skip to main content

Interface: RegisterOptions

Defined in: projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:589

Properties​

behaviorWhenNotIdentical?​

optional behaviorWhenNotIdentical: Overwrite | LogToConsole | VerboseOverwrite

Defined in: projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:603

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

Default​

ApplicationCommandRegistries.getDefaultBehaviorWhenNotIdentical()


guildIds?​

optional guildIds: string[]

Defined in: projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:593

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


idHints?​

optional idHints: string[]

Defined in: projects/framework/src/lib/utils/application-commands/ApplicationCommandRegistry.ts:608

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

Default​

[]

registerCommandIfMissing?​

optional registerCommandIfMissing: boolean

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

If we should register the command when it is missing

Default​

true