HelpBuilderConsumer

@InterfacedService(acceptMultiple = false)
interface HelpBuilderConsumer(source)

A consumer that's called when a help embed is about to be sent. That embed can be for the command list as well as individual commands.

Usage: Register your instance as a service with BService or any annotation that enables your class for dependency injection.

See also

Functions

Link copied to clipboard
abstract fun accept(@NotNull builder: @NotNull EmbedBuilder, isGlobal: Boolean, @Nullable commandInfo: @Nullable TextCommandInfo)
The function called when building a help embed