HooksBuilder
Builder used to insert code at various points in the bot's lifecycle.
Properties
Functions
Register a lambda to be called after all the extensions in the ExtensionsBuilder have been added. This will be called regardless of how many were successfully set up.
Register a lambda to be called after Koin has been set up. You can use this to register overriding modules via loadModule before the modules are actually accessed.
Register a lambda to be called before all the extensions in the ExtensionsBuilder have been added.
Register a lambda to be called before Koin has been set up. You can use this to register Koin modules early, if needed.
Register a lambda to be called just before the bot tries to connect to Discord.
Register a lambda to be called right after the ExtensibleBot object has been created, before it gets set up.
Register a lambda to be called after any extension is successfully added to the bot.
Register a lambda to be called after the ExtensibleBot object has been created and set up.