ExtensionsBuilder

Builder used for configuring the bot's extension options, and registering custom extensions.

Constructors

Link copied to clipboard
constructor(parent: ExtensibleBotBuilder)

Functions

Link copied to clipboard
open fun add(builder: () -> Extension)

Add a custom extension to the bot via a builder - probably the extension constructor.

Link copied to clipboard
open suspend fun help(builder: HelpExtensionBuilder.() -> Unit)

Configure the built-in help extension, or disable it so you can use your own.

Link copied to clipboard
open suspend fun sentry(builder: SentryExtensionBuilder.() -> Unit)

Configure the built-in sentry extension, or disable it so you can use your own.