Work In Progress
This documentation is in beta. It's missing lots of content, search is broken, and many links go nowhere. These problems will be fixed before release, but there's plenty of work left!
Skip to main content

Data Adapter

The dataAdapter { } builder allows you to register a data adapter, responsible for storing the data handled by storage units.

ExtensibleBot(TOKEN) {
// ...

dataAdapter(::TomlDataAdapter)
}

Builders

dataAdapter { ... }Lambda Returns: DataAdapter

Register a callback that constructs and returns an alternative implementation of the DataAdapter type, if needed.