BConfigProps

Properties

Link copied to clipboard
abstract val classes: Set<Class<*>>

Additional classes the framework will scan through for services, commands, handlers...

Link copied to clipboard
Link copied to clipboard

Disables sending exceptions to the bot owners.

Link copied to clipboard

Enables bot owners to bypass certain limits.

Link copied to clipboard

Whether to use a shutdown hook to call BContext.shutdownNow when the JVM is exiting gracefully.

Link copied to clipboard

Gateway intents to ignore when checking for required intents of event listeners.

Link copied to clipboard

Suppresses warnings about the default RestRateLimiter being used for large bots.

Link copied to clipboard
abstract val packages: Set<String>

The packages the framework will scan through for services, commands, handlers...

Link copied to clipboard
abstract val predefinedOwnerIds: Set<Long>

Predefined user IDs of the bot owners, allowing bypassing cooldowns, user permission checks, and having hidden commands shown.